gpio: xtensa: fix driver build
authorMax Filippov <jcmvbkbc@gmail.com>
Tue, 26 Nov 2019 19:30:27 +0000 (11:30 -0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 9 Dec 2019 09:40:18 +0000 (10:40 +0100)
commit634f0348fe336fce8f6cab1933139115e983ed2f
tree77540d3ce83db13c823cce27bbf034074a5c5063
parente42617b825f8073569da76dc4510bfa019b1c35a
gpio: xtensa: fix driver build

Commit cad6fade6e78 ("xtensa: clean up WSR*/RSR*/get_sr/set_sr") removed
{RSR,WSR}_CPENABLE from xtensa code, but did not fix up all users,
breaking gpio-xtensa driver build. Update gpio-xtensa to use
new xtensa_{get,set}_sr API.

Cc: stable@vger.kernel.org # v5.0+
Fixes: cad6fade6e78 ("xtensa: clean up WSR*/RSR*/get_sr/set_sr")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-xtensa.c