From: Martin Kepplinger Date: Tue, 1 Sep 2015 11:45:13 +0000 (+0200) Subject: iio: mma8452: leave sysfs namings to the iio core X-Git-Tag: KARO-TX6UL-2015-11-03~34^2~1379^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b2a768949c4906d87fd0c65b39752e599b5a1860;p=karo-tx-linux.git 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 Signed-off-by: Christoph Muellner Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c index 15d50c9845f9..1eccc2dcf14c 100644 --- a/drivers/iio/accel/mma8452.c +++ b/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) { \