ALSA: fm801: convert rest outw() / inw() to use helpers
authorAndy Shevchenko <andy.shevchenko@gmail.com>
Fri, 18 Dec 2015 19:14:11 +0000 (21:14 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 20 Dec 2015 21:32:53 +0000 (22:32 +0100)
commit4b5c15f746db70efc710369f62c6e1d323e20fb9
treeaa9608015b4775357bc71981ff1cc21f0ea86ce2
parente97e98c63b43040732ad5d1f0b38ad4a8371c73a
ALSA: fm801: convert rest outw() / inw() to use helpers

The patch introduces two new helpers fm801_iowrite16() and fm801_ioread16() to
write and read the registers by offset. Previously similar was done to access
the hardware registers by their names.

Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/fm801.c