summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/f_phonet.c
diff options
context:
space:
mode:
authorMarc Reilly <marc@cpdesign.com.au>2012-03-16 01:11:43 (GMT)
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 10:55:20 (GMT)
commitd939fb9a78b4743bc4bc3cc415894ed42050c5cc (patch)
tree74980bd7c634676da11abb41f87447b50d3a4163 /drivers/usb/gadget/f_phonet.c
parentea279fc5619e2541a0c28196b0fa06447d9ad026 (diff)
downloadlinux-fsl-qoriq-d939fb9a78b4743bc4bc3cc415894ed42050c5cc.tar.xz
regmap: Use pad_bits and reg_bits when determining register format.
This change combines any padding bits into the register address bits when determining register format handlers to use the next byte-divisible register size. A reg_shift member is introduced to the regmap struct to enable fixup of the reg format. Format handlers now take an extra parameter specifying the number of bits to shift the value by. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/usb/gadget/f_phonet.c')
0 files changed, 0 insertions, 0 deletions