]> git.karo-electronics.de Git - linux-beck.git/commit
misc: mic: host driver sysfs cleanups.
authorSudeep Dutt <sudeep.dutt@intel.com>
Fri, 27 Sep 2013 16:49:31 +0000 (09:49 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 28 Sep 2013 00:20:18 +0000 (17:20 -0700)
commit2ce585286d217c1c753bec29ea6f52080a05ced5
tree262a5a79c14dce2aa049d8ebb6fadbcce964783d
parent2424a7339bdc5468b8a6b3bddd750647e45b314d
misc: mic: host driver sysfs cleanups.

+ Use DEVICE_ATTR_RO/RW instead of DEVICE_ATTR
+ Use ATTRIBUTE_GROUPS

These changes were suggested by Greg Kroah-Hartman during the
code review @ https://lkml.org/lkml/2013/9/6/13

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@intel.com>
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Signed-off-by: Harshavardhan R Kharche <harshavardhan.r.kharche@intel.com>
Signed-off-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mic/host/mic_sysfs.c