Re: [PATCH v1 6/9] pinctrl: cherryview: Remove unused groups of pins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 04, 2018 at 02:26:22PM +0300, Andy Shevchenko wrote:
> For the long time no one complained about unused groups of pins
> for fSPI and SMBUS.
> 
> Remove them for good and at the same time satisfy compiler,
> otherwise get warning:
> 
> CC      drivers/pinctrl/intel/pinctrl-cherryview.o
> drivers/pinctrl/intel/pinctrl-cherryview.c:285:23: warning: ‘southwest_smbus_pins’ defined but not used [-Wunused-const-variable=]
>   static const unsigned southwest_smbus_pins[] = { 79, 81, 82 };
>                         ^~~~~~~~~~~~~~~~~~~~
> drivers/pinctrl/intel/pinctrl-cherryview.c:269:23: warning: ‘southwest_fspi_pins’ defined but not used [-Wunused-const-variable=]
>   static const unsigned southwest_fspi_pins[] = { 0, 1, 2, 3, 4, 5, 6, 7 };
>                         ^~~~~~~~~~~~~~~~~~~
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Acked-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux