ft1000-pcmcia: ft1000_hw.c: code refactoring: add ft1000_read_dsp_timer()
authorDaniele Alessandrelli <daniele.alessandrelli@gmail.com>
Mon, 16 Mar 2015 22:53:38 +0000 (23:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 10:07:41 +0000 (11:07 +0100)
commitde5160ffd279dc6e7fa070a4a3852c6c5be42f9c
treeccc1d69365606b02a7c17036c819d19e0d12eff3
parent21a1d41174a16c1bba8b43eb607ac031f31533ae
ft1000-pcmcia: ft1000_hw.c: code refactoring: add ft1000_read_dsp_timer()

Add new function ft1000_read_dsp_timer() replacing recurring code block for
reading DSP timer. Such code refactoring solves all remaining "line over 80
characters" warnings reported by checkpatch.pl.

Signed-off-by: Daniele Alessandrelli <daniele.alessandrelli@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c