Re: [PATCH] mfd: rohm-bdXXX - switch to use i2c probe_new

From: Lee Jones
Date: Wed Apr 15 2020 - 05:53:56 EST


On Thu, 26 Mar 2020, Matti Vaittinen wrote:

> ROHM BD70528 and BD718x7 drivers do not utilize the I2C id.
> Do the trivial conversion and make them to use probe_new
> instead of probe.

Not sure I understand the purpose of the patch.

The only reason to switch to probe_new is to aid the removal of the
compulsory I2C tables. However, neither of these drivers have them.

> Signed-off-by: Matti Vaittinen <matti.vaittinen@xxxxxxxxxxxxxxxxx>
> ---
> drivers/mfd/rohm-bd70528.c | 5 ++---
> drivers/mfd/rohm-bd718x7.c | 5 ++---
> 2 files changed, 4 insertions(+), 6 deletions(-)

--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog