diff options
author | Rocky Liao | 2020-03-04 21:16:45 +0800 |
---|---|---|
committer | Marcel Holtmann | 2020-03-04 17:02:18 +0100 |
commit | 77131dfec6af114efd32610b4a6bbecd934e37d5 (patch) | |
tree | 2bbed118b54b67ebf9a74949ad0fb40199047418 /LICENSES | |
parent | eb82dfe642b9c573d67bcc46ee0dfb8559b5cbfa (diff) |
Bluetooth: hci_qca: Replace devm_gpiod_get() with devm_gpiod_get_optional()
This patch replaces devm_gpiod_get() with devm_gpiod_get_optional() to get
bt_en and replaces devm_clk_get() with devm_clk_get_optional() to get
susclk. It also uses NULL check to determine whether the resource is
available or not.
Fixes: 8a208b24d770 ("Bluetooth: hci_qca: Make bt_en and susclk not mandatory for QCA Rome")
Signed-off-by: Rocky Liao <rjliao@codeaurora.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions