mfd: ab3100-otp: use module_platform_driver_probe()
authorJingoo Han <jg1.han@samsung.com>
Tue, 5 Mar 2013 04:47:06 +0000 (13:47 +0900)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 5 Apr 2013 16:08:31 +0000 (18:08 +0200)
commitbbc48c6aaab9cff03e6e966bf752c3b7ad91d16a
tree8215c97d4f5e7926a100b31503891495728c8235
parent408a3fa867be13844af13bcbba25e70232fd99e5
mfd: ab3100-otp: use module_platform_driver_probe()

This patch uses module_platform_driver_probe() macro which makes
the code smaller and simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/ab3100-otp.c