Re: [PATCH next v3] mfd: Use dev_get_drvdata()

From: Lee Jones
Date: Fri May 10 2019 - 03:03:50 EST


On Thu, 09 May 2019, Kefeng Wang wrote:

> Using dev_get_drvdata directly.
>
> Cc: David Brown <david.brown@xxxxxxxxxx>
> Cc: Lee Jones <lee.jones@xxxxxxxxxx>
> Cc: linux-arm-msm@xxxxxxxxxxxxxxx
> Signed-off-by: Kefeng Wang <wangkefeng.wang@xxxxxxxxxx>
> ---
> v3:
> - fix build issue('dev' undeclared) in tc6393xb_nand_enable()
> v2:
> -use dev_get_drvdata() instead of to_ssbi()
>
> drivers/mfd/ssbi.c | 6 ++----
> drivers/mfd/t7l66xb.c | 12 ++++--------
> drivers/mfd/tc6387xb.c | 12 ++++--------
> drivers/mfd/tc6393xb.c | 23 ++++++++---------------
> 4 files changed, 18 insertions(+), 35 deletions(-)

Applied, thanks.

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