]> git.baikalelectronics.ru Git - kernel.git/commit
sh-pfc: Move platform device and driver to the core
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 15 Dec 2012 22:50:47 +0000 (23:50 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 25 Jan 2013 00:24:21 +0000 (09:24 +0900)
commitfd86a1229c12cb8dfe20e82cecb1f6985ae0a0aa
treed736dd1e72bd85664698e7dcecc461fd1d991bef
parent4cca2e984237b4b86581effcdf9f1959d67f9948
sh-pfc: Move platform device and driver to the core

The pinctrl module registers both a platform device and a platform
driver. The only purpose of this awkward construction is to have a
device to pass to the pinctrl registration function.

As a first step to get rid of this hack, move the platform device and
driver from the pinctrl module to the core. The platform device will
then be moved to arch code.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/sh/pfc/core.c
drivers/sh/pfc/core.h
drivers/sh/pfc/gpio.c
drivers/sh/pfc/pinctrl.c