浏览代码

iio: mma8452: leave sysfs namings to the iio core

This doesn't actually change anything since the core names the sysfs folder
for the iio event attributes "events" anyways. It only leaves the job to the
core.

Signed-off-by: Martin Kepplinger <martin.kepplinger@theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Martin Kepplinger 10 年之前
父节点
当前提交
b2a768949c
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/iio/accel/mma8452.c

+ 0 - 1
drivers/iio/accel/mma8452.c

@@ -772,7 +772,6 @@ static struct attribute *mma8452_event_attributes[] = {
 
 static struct attribute_group mma8452_event_attribute_group = {
 	.attrs = mma8452_event_attributes,
-	.name = "events",
 };
 
 #define MMA8452_CHANNEL(axis, idx, bits) { \