Re: [PATCH v2 3/3] power: supply: max77976: add Maxim MAX77976 charger driver

From: Luca Ceresoli
Date: Tue Nov 16 2021 - 12:36:01 EST


Hi Sebastian,

On 16/11/21 16:21, Sebastian Reichel wrote:
> Hi,
>
> On Mon, Nov 08, 2021 at 05:27:06PM +0100, Luca Ceresoli wrote:
>> Add support for the MAX77976 3.5/5.5A 1-Cell Li+ Battery Charger.
>>
>> This is a simple implementation enough to be used as a simple battery
>> charger without OTG and boost.
>>
>> Signed-off-by: Luca Ceresoli <luca@xxxxxxxxxxxxxxxx>
>>
>> ---
>
> Thanks, I queued this to power-supply's for-next branch together
> with the other 2 patches

Thanks!

> with one small change: The of_match_ptr()
> is not needed and actually should result in a warning when building
> the driver with CONFIG_OF disabled.

Ouch. I made the same mistake in the past and the kernel test robot
noticed, I wonder why it didn't this time but hopefully I will remember
in the future!

Regards,
--
Luca