diff options
author | AngeloGioacchino Del Regno | 2022-03-03 10:15:47 +0100 |
---|---|---|
committer | Wolfram Sang | 2022-03-11 21:54:07 +0100 |
commit | 0016a32f7591aec5413cf1f52b9ce522f1cae44f (patch) | |
tree | aa263dbf50563f9eebe36f245d0b7563064a53e3 /drivers/mmc | |
parent | 52c74d17d89c6e69f9b774cdd477517e62383f55 (diff) |
i2c: mt65xx: Simplify with clk-bulk
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@collabora.com>
Reviewed-by: Qii Wang <qii.wang@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/mmc')
0 files changed, 0 insertions, 0 deletions