]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: hci_bcm: Use the devm_clk_get_optional() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 8 Nov 2024 15:33:49 +0000 (17:33 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 14 Nov 2024 20:40:18 +0000 (15:40 -0500)
commit2de33a21a136ccfcf5ebd956537eec0637e067d3
tree8f22f1e250ab0e564650d62789a560aacf403178
parent07a9342b94a91b306ed1cf6aa8254aea210764c9
Bluetooth: hci_bcm: Use the devm_clk_get_optional() helper

Use devm_clk_get_optional() instead of hand writing it.
This saves some LoC and improves the semantic.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/hci_bcm.c