gpio: tps68470: Allow building as module
authorHans de Goede <hdegoede@redhat.com>
Tue, 11 Jan 2022 10:56:32 +0000 (11:56 +0100)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 24 Jan 2022 15:23:15 +0000 (17:23 +0200)
commita1ce76e89907a69713f729ff21db1efa00f3bb47
tree2e1f11f56e98ef8032459ebaa4cf51ea54ea0bd9
parentb3376ed7d82f5937cecb17ff92d5d8dc0762e1c1
gpio: tps68470: Allow building as module

The gpio-tps68470 driver binds to a tps68470-gpio platform-device which
itself gets instantiated by a special MFD driver from
drivers/platform/x86/intel/int3472/tps68470.c

This MFD driver itself can be built as a module, so it makes no sense to
force the gpio-tps68470 driver to always be built-in.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/Kconfig
drivers/gpio/gpio-tps68470.c