Re: [PATCH 18/19] ARM: SAMSUNG: Remove remaining legacy code

From: Paul Bolle
Date: Wed Jul 16 2014 - 06:24:36 EST


On Fri, 2014-07-04 at 19:48 +0200, Tomasz Figa wrote:
> After refactoring suspend/resume, which was last part with dependencies
> on legacy code, all Kconfig symbols related to Samsung ATAGS support can
> be deselected and more unused code removed. This includes most of s5p-*
> code as well, as s5pv210 was their last user.
>
> Signed-off-by: Tomasz Figa <t.figa@xxxxxxxxxxx>
> ---

And I noticed another issue as this patch showed up in linux-next (this
should be the last issue for this series).

> [...]
> diff --git a/arch/arm/plat-samsung/Kconfig b/arch/arm/plat-samsung/Kconfig
> index f8185b5..1091b0a 100644
> --- a/arch/arm/plat-samsung/Kconfig
> +++ b/arch/arm/plat-samsung/Kconfig
>[...]
> @@ -64,31 +51,6 @@ config SAMSUNG_ATAGS
>
> if SAMSUNG_ATAGS
>
> -# options for IRQ support
> -
> -config S5P_IRQ
> - def_bool ARCH_S5PV210
> - help
> - Support common interrupt part for ARCH_S5P SoCs
> -
> -config S5P_EXT_INT
> - bool
> - help
> - Use the external interrupts (other than GPIO interrupts.)
> -
> -config S5P_GPIO_INT
> - bool
> - help
> - Common code for the GPIO interrupts (other than external interrupts.)
> -
> -# options for gpio configuration support
> -
> -config S5P_GPIO_DRVSTR
> - bool
> - help
> - Internal configuration to get and set correct GPIO driver strength
> - helper
> -

This one is used (as a macro) in drivers/gpio/gpio-samsung.c. Is a patch
that touches that macro queued somewhere?

> config SAMSUNG_GPIO_EXTRA
> int "Number of additional GPIO pins"
> default 128 if SAMSUNG_GPIO_EXTRA128

Thanks,


Paul Bolle

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/