commit | b4a11d3da20db62f31b3133a6eca8a35633e0838 | [log] [tgz] |
---|---|---|
author | Akinobu Mita <akinobu.mita@gmail.com> | Mon Nov 17 15:21:32 2008 +0000 |
committer | Richard Purdie <rpurdie@linux.intel.com> | Thu Jan 08 12:37:28 2009 +0000 |
tree | 4c9fcc6f88c1b45589d389a2a4e30cb0ddda2e19 | |
parent | 6cd6f35a4b0ff86638df986efaa307de91f88ae8 [diff] |
backlight: crbllcd_bl - Use platform_device_register_simple() Use platform_device_register_simple() and also fix error handling when platform_device_alloc() fails (cr_backlight_driver is left registered). Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>