]> git.karo-electronics.de Git - linux-beck.git/commit
serial: max310x: Move all SPI-dependent stuff in one place
authorAlexander Shiyan <shc_work@mail.ru>
Mon, 10 Feb 2014 18:18:30 +0000 (22:18 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 17:34:47 +0000 (09:34 -0800)
commit27027a70e21f62d143da142d66e508e70fc311b7
tree15225e598a22e78d1a2fdcf8220ca44dfea37e9d
parentaa7b2e5684ec37331413231b31883ca15ae688ce
serial: max310x: Move all SPI-dependent stuff in one place

Patch move all SPI-dependent stuff in one place. This include move
PM-function definitions out of CONFIG_SPI_MASTER and move regmap
initialization out of common probe into CONFIG_SPI_MASTER which
may help to add I2C support in the future for this driver.

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