Re: [PATCH/RFC v4 05/21] leds: avoid using deprecated DEVICE_ATTR macro
From: Sakari Ailus <hidden>
Date: 2014-07-16 15:47:35
Also in:
linux-leds, linux-media, lkml
From: Sakari Ailus <hidden>
Date: 2014-07-16 15:47:35
Also in:
linux-leds, linux-media, lkml
Hi Jacek, Jacek Anaszewski wrote:
Make the sysfs attributes definition consistent in the whole file. The modification entails change of the function name: led_max_brightness_show -> max_brightness_show
I'm not sure whether DEVICE_ATTR() is really deprecated but nevertheless this is cleaner. Acked-by: Sakari Ailus <sakari.ailus-VuQAYsv1563Yd54FQh9/CA@public.gmane.org> -- Kind regards, Sakari Ailus e-mail: sakari.ailus-X3B1VOXEql0@public.gmane.org XMPP: sailus-PCDdDYkjdNMDXYZnReoRVg@public.gmane.org -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html