]> git.karo-electronics.de Git - linux-beck.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)
commitc6193eacda6d50c405b0d484f5f2577ff9068a13
treed736dd1e72bd85664698e7dcecc461fd1d991bef
parent6f6a4a683be97837f3baae443aacd2b0e6162b10
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