aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorManivannan Sadhasivam <[email protected]>2022-09-14 13:23:40 +0530
committerLorenzo Pieralisi <[email protected]>2022-10-03 10:38:16 +0200
commite2efd31465b1d97a0bca6f93cb75ccdc8001c8d3 (patch)
tree2e14f400bb6fba5394082d947e2929ece6fd10f5 /lib/netdev-notifier-error-inject.c
parentf1bfbd000f3bc42a34aec9208c6aaa9076682601 (diff)
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/[email protected] Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions