serial: clps711x: Enable driver compilation with COMPILE_TEST
authorAlexander Shiyan <shc_work@mail.ru>
Tue, 31 Dec 2013 16:49:42 +0000 (20:49 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2014 01:06:18 +0000 (17:06 -0800)
commit093a9e2a20ebc414f8ca0d31709dab1040fa2886
tree8403b0108980e2e14d01fdf08b76d99e7008c685
parent71b9e8c6694f5cfe6cd37d53d6c24a33f1f59abd
serial: clps711x: Enable driver compilation with COMPILE_TEST

This helps increasing build testing coverage.
To do this, read{write}_relaxed() functions was be replaced with
simple read{write}() variants. Potential "uninitialized variable"
warnings was be fixed if driver compiled without MFD_SYSCON.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/clps711x.c