mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
Move probe out of __init section and don't use platform_driver_probe which cannot be used with deferred probing. Since commite9354576("gpiolib: Defer failed gpio requests by default") and04bf3011("regulator: Support driver probe deferral") this driver might return -EPROBE_DEFER if a gpio_request or regulator_get fails. Cc: Felipe Balbi <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>