sh-pfc: Don't take the sh_pfc spinlock in sh_pfc_map_gpios()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 28 Nov 2012 19:56:48 +0000 (20:56 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 15 Mar 2013 12:33:36 +0000 (13:33 +0100)
commitd785fdb5d8ebdb0081624e9d8b220ff199c22645
treea3473d67733c72333690f522f860010c44087242
parente3e89ae43e132b80039614098597ad2fec6cfbb1
sh-pfc: Don't take the sh_pfc spinlock in sh_pfc_map_gpios()

The sh_pfc_map_gpios() function is only called at initialization time
when no other task can access the sh_pfc fields. Don't protect the
operation with a spinlock.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sh-pfc/pinctrl.c