[PATCH 2/2] Remove old-style supply.dev assignments common in hsmmc init

Grazvydas Ignotas notasas at gmail.com
Mon Jun 6 06:13:21 EDT 2011


On Mon, Jun 6, 2011 at 9:46 AM,  <green at linuxhacker.ru> wrote:
> From: Oleg Drokin <green at linuxhacker.ru>
>
> CC: Mark Brown <broonie at opensource.wolfsonmicro.com>
> CC: Mike Rapoport <mike at compulab.co.il>
> CC: Nishant Kamat <nskamat at ti.com>
> CC: Steve Sakoman <steve at sakoman.com>
> CC: Felipe Balbi <balbi at ti.com>
> Signed-off-by: Oleg Drokin <green at linuxhacker.ru>
> ---
>  arch/arm/mach-omap2/board-cm-t35.c           |    2 --
>  arch/arm/mach-omap2/board-ldp.c              |    2 --
>  arch/arm/mach-omap2/board-omap3beagle.c      |    4 ----
>  arch/arm/mach-omap2/board-omap3evm.c         |    4 ----
>  arch/arm/mach-omap2/board-omap3logic.c       |    2 --
>  arch/arm/mach-omap2/board-omap3stalker.c     |    4 ----
>  arch/arm/mach-omap2/board-omap3touchbook.c   |    4 ----
>  arch/arm/mach-omap2/board-overo.c            |    2 --
>  arch/arm/mach-omap2/board-zoom-peripherals.c |    7 -------
>  9 files changed, 0 insertions(+), 31 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-cm-t35.c b/arch/arm/mach-omap2/board-cm-t35.c
> index 33855e4..a38cd70 100644
> --- a/arch/arm/mach-omap2/board-cm-t35.c
> +++ b/arch/arm/mach-omap2/board-cm-t35.c
> @@ -480,8 +480,6 @@ static int cm_t35_twl_gpio_setup(struct device *dev, unsigned gpio,
>        omap2_hsmmc_init(mmc);
>
>        /* link regulators to MMC adapters */

Would be useful to remove this comment too.

> -       cm_t35_vmmc1_supply.dev = mmc[0].dev;
> -       cm_t35_vsim_supply.dev = mmc[0].dev;
>
>        return 0;
>  }



More information about the linux-arm-kernel mailing list