diff options
author | AngeloGioacchino Del Regno <[email protected]> | 2022-03-03 10:15:47 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2022-03-11 21:54:07 +0100 |
commit | 0016a32f7591aec5413cf1f52b9ce522f1cae44f (patch) | |
tree | aa263dbf50563f9eebe36f245d0b7563064a53e3 /net/lapb/lapb_iface.c | |
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 <[email protected]>
Reviewed-by: Qii Wang <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions