On Sat, Sep 7, 2019 at 2:52 AM Arnd Bergmann <[email protected]> wrote:
>
> The intel_pin_to_gpio() function is only called by the
> PM support functions and causes a warning when those are disabled:
>
> drivers/pinctrl/intel/pinctrl-intel.c:841:12: error: unused function
> 'intel_pin_to_gpio' [-Werror,-Wunused-function]
>
> Mark it __maybe_unused to suppress the warning.
>
> Suggested-by: Andy Shevchenko <[email protected]>
> Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Chris Chiu <[email protected]>