Re: [PATCH v3] drivers: power: twl4030_charger: fix link problems when building as module

From: Sebastian Reichel
Date: Sat Sep 26 2015 - 13:24:06 EST


Hi Marek,

On Fri, Sep 25, 2015 at 10:20:45PM +0200, Marek Belisko wrote:
> If either twl4030_charger or twl4030_madc is configured as MODULE,
> we get build (link) errors.
>
> To solve, the direct call of twl4030_get_madc_conversion() is replaced
> by a call to iio_read_channel_processed().
>
> Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
> Signed-off-by: Marek Belisko <marek@xxxxxxxxxxxxx>

Thanks, queued for 4.4 together with the DT binding patch.

-- Sebastian

Attachment: signature.asc
Description: Digital signature