Browse Source

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 years ago
parent
commit
b2a768949c
1 changed files with 0 additions and 1 deletions
  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) { \