]> git.baikalelectronics.ru Git - kernel.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)
commit23f44614d130d654822429da0524d25104cf0689
tree15225e598a22e78d1a2fdcf8220ca44dfea37e9d
parent7076f7533e493db84d7ebb67f6fe8e5d4f77dc99
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