summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-04-02 22:21:45 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2020-04-14 17:15:55 +0300
commit85a94ff8fb14511c88b8d21f82937197d76b82a2 (patch)
treee9818acb97b0feb2d6047234213d69b966b8a4c9 /drivers/gpio
parent7fc504b993cee79e38c0f018bf3c38940873bebd (diff)
downloadlinux-85a94ff8fb14511c88b8d21f82937197d76b82a2.tar.xz
gpio: Extend TODO to cover code duplication avoidance
It appears at least two drivers has a lot of duplication code in GPIO subsystem. To avoid adding more and get rid of existing duplication extend TODO. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/TODO4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpio/TODO b/drivers/gpio/TODO
index 3a44e6ae52bd..b989c9352da2 100644
--- a/drivers/gpio/TODO
+++ b/drivers/gpio/TODO
@@ -99,6 +99,10 @@ similar and probe a proper driver in the gpiolib subsystem.
In some cases it makes sense to create a GPIO chip from the local driver
for a few GPIOs. Those should stay where they are.
+At the same time it makes sense to get rid of code duplication in existing or
+new coming drivers. For example, gpio-ml-ioh should be incorporated into
+gpio-pch. In similar way gpio-intel-mid into gpio-pxa.
+
Generic MMIO GPIO