diff options
author | 2020-03-04 21:16:45 +0800 | |
---|---|---|
committer | 2020-03-04 17:02:18 +0100 | |
commit | 77131dfec6af114efd32610b4a6bbecd934e37d5 (patch) | |
tree | 2bbed118b54b67ebf9a74949ad0fb40199047418 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | MAINTAINERS: adjust to 6lowpan doc ReST conversion (diff) | |
download | wireguard-linux-77131dfec6af114efd32610b4a6bbecd934e37d5.tar.xz wireguard-linux-77131dfec6af114efd32610b4a6bbecd934e37d5.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions