diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2013-07-02 10:09:29 -0700 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-15 11:37:14 +0100 |
commit | d9b65dfd44fdade5c0fde5f7b8a0f267e99f990d (patch) | |
tree | e2e4636fe3e3d3e980a3ac84ffa565f31d712360 /drivers/hwmon/g762.c | |
parent | b2d185edbac9c40adb1d390ad966e6900992e69d (diff) | |
download | lwn-d9b65dfd44fdade5c0fde5f7b8a0f267e99f990d.tar.gz lwn-d9b65dfd44fdade5c0fde5f7b8a0f267e99f990d.zip |
spi: spi-ep93xx: remove 'dss' from per chip private data
This value is only needed to set the bits per word for each transfer
of a message. There is no reason to set the value in ep93xx_spi_enable()
because ep93xx_spi_process_transfer() sets it again for each transfer.
Just pass the t->bits_per_word directly to ep93xx_spi_chip_setup() in
ep93xx_spi_process_transfer() and remove 'dss' from the per chip private
data.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/hwmon/g762.c')
0 files changed, 0 insertions, 0 deletions