mfd: lpc_ich: One uninitialized cell is no error
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 19 Nov 2012 20:04:11 +0000 (21:04 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 21 Nov 2012 16:34:23 +0000 (17:34 +0100)
commit0c418844dce21fa7000b51190f393c7d6a7ee12d
treeaef55050ee01d6a1142aa5a1ed9be6264eb5bd2f
parente294bc91760e11d2f1ebbac1d0a979069edf7adb
mfd: lpc_ich: One uninitialized cell is no error

At every boot of an (outdated) laptop lpc_ich prints an error:
    lpc_ich 0000:00:1f.0: I/O space for GPIO uninitialized

But if one looks at lpc_ich's probe function one notices that the code
only cares if both lpc_ich_init_wdt() and lpc_ich_init_gpio() fail to
add any cells. So stop treating the failure to add a single cell as an
error. Those messages can be printed at notice level. And then only warn
if no cells were added.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/lpc_ich.c