]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iio: mma8452: leave sysfs namings to the iio core
authorMartin Kepplinger <martink@posteo.de>
Tue, 1 Sep 2015 11:45:13 +0000 (13:45 +0200)
committerJonathan Cameron <jic23@kernel.org>
Wed, 23 Sep 2015 19:23:23 +0000 (20:23 +0100)
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>
drivers/iio/accel/mma8452.c

index 15d50c9845f96d6432e7088ecc4a66cd0442de72..1eccc2dcf14cdcf53c6df1a5c9eb562a8d26db5c 100644 (file)
@@ -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) { \