aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorTrent Piepho <[email protected]>2013-10-01 13:14:32 -0700
committerMark Brown <[email protected]>2013-10-18 01:00:29 +0100
commitf5bc7384dc4e9bf3bcf976ef0c1ac9704fa1ad43 (patch)
tree58021494a152ff4dc5d9f502f9a4badb7c2d4807 /net/lapb/lapb_subr.c
parent58f46e41c1925236a1c34873caa5d1247f846005 (diff)
spi: spi-mxs: Remove mxs_spi_enable and mxs_spi_disable
These functions consist of nothing but one single writel call and are only called once. And the names really aren't accurate or clear, since they don't enable or disble SPI. Rather they set the bit that controls the state of CS at the end of transfer. It easier to follow the code to just set this bit with a writel() along with all the other bits being set in the same function. Signed-off-by: Trent Piepho <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Shawn Guo <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions