diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2008-11-17 15:16:20 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-08 12:37:28 +0000 |
commit | 3bcdcc0e6675e6fcd1f27d119464036fb54f53b7 (patch) | |
tree | 2dd0d07ff2db6952126b561148a857376d43d18f /drivers/video/tgafb.c | |
parent | 9e42d0cf5020aaf217433cad1a224745241d212a (diff) | |
download | blackbird-op-linux-3bcdcc0e6675e6fcd1f27d119464036fb54f53b7.tar.gz blackbird-op-linux-3bcdcc0e6675e6fcd1f27d119464036fb54f53b7.zip |
backlight: hp680_bl - Use platform_device_register_simple()
Use platform_device_register_simple() and also fix error
handling when platform_device_alloc() fails (hp680_bl_driver
is left registered).
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/video/tgafb.c')
0 files changed, 0 insertions, 0 deletions