summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-03-04 22:30:16 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-07 05:06:18 +0400
commit19720c07f1f82c21311f3f7ac3e9b993598d6b70 (patch)
treeb296d2530bfd8610d0595131717da8af0238a238 /include/linux/stackprotector.h
parent4384aaadc2289cc15a606205e6a897dd524cd0f8 (diff)
downloadlinux-19720c07f1f82c21311f3f7ac3e9b993598d6b70.tar.xz
staging: comedi: pcl816: cleanup setup_channel_list()
Move this function to remove the need for the forward declaration. Rename it so it has namespace associated with the driver. Remove the unnecessary comedi_subdevice parameter from the function. The hardware has per-channel programmable gain. This function first sets the range for each channel then sets the mux register to automatically scan the channels. Remove the need for the 'ai_act_chanlist' member in the private data. It is only used to set the first/last channel to scan. Introduce a couple helper functions to set the range for a channel and to set the first/last channels to scan. Tidy up the range and mux register defines. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions