gpio: aspeed-sgpio: Rename and add Kconfig/Makefile
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Sep 2019 11:48:33 +0000 (13:48 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Sep 2019 21:54:03 +0000 (23:54 +0200)
commitf8b410e3695a86686f4075b997bc53c8a178e4e2
treebd1104a8b7d5ded5a62b22a6f94e6a5a4005c1b7
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
gpio: aspeed-sgpio: Rename and add Kconfig/Makefile

This renames the "gpio-aspeed" driver to conform with other
GPIO drivers as "gpio-aspeed-sgpio.c". All GPIO drivers
should start with the string "gpio-" no special exceptions.

Also the Kconfig and Makefile entries should normally
go with the driver but I missed this in my review, sorry
for mistake. "CONFIG_GPIO_ASPEED_SGPIO" is used to
activate this driver.

Cc: Hongwei Zhang <hongweiz@ami.com>
Fixes: 7db47faae79b ("gpio: aspeed: Add SGPIO driver")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Link: https://lore.kernel.org/r/20190927114833.12551-1-linus.walleij@linaro.org
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-aspeed-sgpio.c [new file with mode: 0644]
drivers/gpio/sgpio-aspeed.c [deleted file]