gpio/samsung: Complain loudly if we don't know the SoC
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 17 Oct 2011 23:46:50 +0000 (08:46 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 17 Oct 2011 23:46:50 +0000 (08:46 +0900)
commitfbe92fcc7570eaba4bd5786cb1bbc5e693dba6bd
tree19327e976d44df87ef584796804a74e9bfec1b66
parent0f4e54c64eacab06675a054a861d6e0b7442ec9e
gpio/samsung: Complain loudly if we don't know the SoC

If we don't know the SoC type then we won't add any chips which is rather
unfortunate as neither GPIO nor pinmux APIs will work, breaking lots of
different subsystems. Logging at least provides a hint to the user as to
what's gone wrong.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/gpio/gpio-samsung.c