OSDN Git Service

mfd: Register db8500-prcmu as a platform driver instead of only probing
authorLee Jones <lee.jones@linaro.org>
Thu, 19 Apr 2012 20:36:41 +0000 (21:36 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 9 May 2012 15:14:15 +0000 (17:14 +0200)
commit9fc63f670f53cf9dcdca5e523289dda35da47e63
treea4a823c312039b5b71f583d12ffd5c648162b6c1
parent9e69ab4116668be1e327d164d6a27c8605b0aabb
mfd: Register db8500-prcmu as a platform driver instead of only probing

Pass the probe function as part of the platform_driver struct and
register using the more common platform_driver_register call. In
subsequent patches we'll also add DT support into the struct.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/db8500-prcmu.c