Wei Yongjun 1b3c16556a pc8736x_gpio: use platform_device_unregister in pc8736x_gpio_cleanup()
platform_device_unregister() only calls platform_device_del() and
platform_device_put(), thus use platform_device_unregister() to
simplify the code.

Also the documents in platform.c shows that platform_device_del
and platform_device_put must _only_ be externally called in error
cases.  All other usage is a bug.

dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-10-24 15:52:29 -07:00
..
2012-10-07 20:55:16 +09:00
2012-10-01 12:26:52 -07:00
2012-10-16 18:07:12 -07:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:03 +01:00
2012-10-07 07:22:32 -07:00
2011-01-10 08:51:44 -08:00