Re: [PATCH RFT 1/3] regulator: ab3100: Add dummyset_suspend_[enable|disable] callbacks implementation

From: Mark Brown
Date: Fri Apr 13 2012 - 04:16:38 EST


On Fri, Apr 13, 2012 at 12:41:38PM +0800, Axel Lin wrote:
> Without the implementation of set_suspend_enable and set_suspend_disable callbacks,
> the regulator core won't call set_suspend_voltage.
>
> Thus add dummy implementation for set_suspend_[enable|disable] callbacks.

No, if we need to go adding dummy functions to a bunch of drivers we're
clearly going about things the wrong way and should be avoiding the need
to have those functions in the first place.

Attachment: signature.asc
Description: Digital signature