[PATCH v2] i2c: busses: i2c-mt65xx: Simplify with clk-bulk

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Mar 3 01:25:22 PST 2022


Il 03/03/22 10:15, AngeloGioacchino Del Regno ha scritto:
> Since depending on the SoC or specific bus functionality some clocks
> may be optional, we cannot get the benefit of using devm_clk_bulk_get()
> but, by migrating to clk-bulk, we are able to remove the custom functions
> mtk_i2c_clock_enable() and mtk_i2c_clock_disable(), increasing common
> APIs usage, hence (lightly) decreasing kernel footprint.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> Reviewed-by: Qii Wang <wii.wang at mediatek.com>
> ---
> 
> v2: Rebased on top of wsa/linux.git branch i2c/for-mergewindow
> 
>   drivers/i2c/busses/i2c-mt65xx.c | 124 +++++++++++++-------------------
>   1 file changed, 51 insertions(+), 73 deletions(-)
> 
Hello Wolfram,

I'm sorry but in this v2 I have typoed Qii Wang's email
(qii.wang <at> mediatek.com).

Please, can you fix that while applying, or should I send a v3?

Sorry again and thank you,
Angelo




More information about the Linux-mediatek mailing list