From: H Hartley Sweeten Date: Wed, 6 Feb 2013 00:27:56 +0000 (-0700) Subject: staging: comedi: vmk80xx: cleanup pwm subdevice init X-Git-Tag: v3.9-rc1~127^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a23a7481ea860096acbc032dcb1159b8864fbf5;p=pandora-kernel.git staging: comedi: vmk80xx: cleanup pwm subdevice init Change the 'pwm_bits' in the boardinfo to 'pwm_maxdata' so that the calculation of s->maxdata can be removed. Also, change the type to match the comedi_subdevice type. For aesthetic reasons, rename the 'pwm_chans' boardinfo and change its type also. Remove the '0' values in the boardinfo. Rename the (*insn_read) and (*insn_write) functions for the pwm subdevice to make grepping easier. For aesthetic reasons, add some whitespace to the subdevice init. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed