summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-stmp3xxx.c
diff options
context:
space:
mode:
authorHiep Cao Minh <cm-hiep@jinso.co.jp>2015-04-30 02:12:12 (GMT)
committerMark Brown <broonie@kernel.org>2015-05-07 12:56:46 (GMT)
commit6310372dc34bae740db280d3354b2e470cd31284 (patch)
treecafb388302f34e5218ae07be6a5186ca4b2ac978 /drivers/rtc/rtc-stmp3xxx.c
parent8634dafac6f58c91ab2461a68e8d7ea18ec0486b (diff)
downloadlinux-6310372dc34bae740db280d3354b2e470cd31284.tar.xz
spi: rspi: Re-do the returning value of rspi_dma_check_then_transfer
To reduce indentation and complexity of code, insteeds of returning zero the function rspi_dma_check_then_transfer should return rspi_dma_transfer directly after checking error. Signed-off-by: Hiep Cao Minh <cm-hiep@jinso.co.jp> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/rtc/rtc-stmp3xxx.c')
0 files changed, 0 insertions, 0 deletions