gpiolib: cdev: compile out HTE unless CONFIG_HTE selected
authorKent Gibson <warthog618@gmail.com>
Thu, 14 Jul 2022 02:03:19 +0000 (10:03 +0800)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 19 Jul 2022 08:02:46 +0000 (10:02 +0200)
commit272ddba004731503cb6c30f2336dd501eaf25955
tree0305e8b8db966ea7866291aaede7a4f55427e91b
parentb1a92e94560def63b71057d770e9db2f798ab58c
gpiolib: cdev: compile out HTE unless CONFIG_HTE selected

The majority of builds do not include HTE, so compile out hte
functionality unless CONFIG_HTE is selected.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpiolib-cdev.c