commit | cc21942bce652d1a92dae85b785378256e1df1f7 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Wed Jul 06 19:33:05 2016 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Wed Jan 04 11:37:31 2017 +0000 |
tree | bb6362458ce56f7781f052955e19beb9d2184e49 | |
parent | 7ce7d89f48834cefece7804d38fc5d85382edf77 [diff] |
backlight: lcd: Fix race condition during register Once device_register is called for a device its attributes might be accessed. As the callbacks of a lcd device's attributes make use of the lcd_ops, the respective member must be setup before calling device_register. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Lee Jones <lee.jones@linaro.org>