summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ds1621.c
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2022-09-14 13:23:40 +0530
committerLorenzo Pieralisi <lpieralisi@kernel.org>2022-10-03 10:38:16 +0200
commite2efd31465b1d97a0bca6f93cb75ccdc8001c8d3 (patch)
tree2e14f400bb6fba5394082d947e2929ece6fd10f5 /drivers/hwmon/ds1621.c
parentf1bfbd000f3bc42a34aec9208c6aaa9076682601 (diff)
downloadlinux-e2efd31465b1d97a0bca6f93cb75ccdc8001c8d3.tar.bz2
PCI: qcom-ep: Rely on the clocks supplied by devicetree
Generally, device drivers should just rely on the platform data like devicetree to supply the clocks required for the functioning of the peripheral. There is no need to hardcode the clk info in the driver. So get rid of the static clk info and obtain the platform supplied clks. The total number of clocks supplied is obtained using the devm_clk_bulk_get_all() API and used for the rest of the clk_bulk_ APIs. Link: https://lore.kernel.org/r/20220914075350.7992-3-manivannan.sadhasivam@linaro.org Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Diffstat (limited to 'drivers/hwmon/ds1621.c')
0 files changed, 0 insertions, 0 deletions