summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2015-08-12 09:20:56 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-08-12 16:35:44 +0200
commit62aaefa7d03804aef30639ab362f845b1f3e92ed (patch)
tree247152b0833b0d56a2e63e75f91565f2cbe6d229 /Makefile
parentea9eb698b2f59e16fbf9f480a9b35ddfb3c3a789 (diff)
downloadlinux-62aaefa7d03804aef30639ab362f845b1f3e92ed.tar.bz2
Bluetooth: hci_bcm: improve use of gpios API
devm_gpiod_get currently has an optional parameter to set initial direction and value for the requested gpio. Make use of this to simplify the driver and make it not fail to build when this parameter is made mandatory (which is scheduled for 4.3-rc1). Moreover use the _optional variant of devm_gpiod_get to simplify error handling (which also gets more strict for free). Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions