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@xxxxxxxxxxxxxxx> -- Kind regards, Sakari Ailus e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html