Bluetooth: hci_bcm: Remove duplication in gpio-mappings declaration
authorHans de Goede <hdegoede@redhat.com>
Fri, 16 Mar 2018 20:28:10 +0000 (21:28 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 1 Apr 2018 12:25:31 +0000 (14:25 +0200)
commit9644e6b98cda0485d12b6b1cf72658855e57c878
treea7fad2a69757725ca5429d2492f5a9f1d5c903e6
parent4063cafa3b24ff04635bdedc97cd3e4320415065
Bluetooth: hci_bcm: Remove duplication in gpio-mappings declaration

We declare the same set of const acpi_gpio_params twice with different
names, besides the needless duplication this naming leads to a sortof
double indirection which also makes it harder to see how the mapping is
actually setup.

This commit renames the first set to have generic names, which better
describe the contents of the mapping and drops the second set.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_bcm.c