summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-mxs.c
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2015-01-06 15:23:40 +0200
committerMark Brown <broonie@kernel.org>2015-01-06 17:02:50 +0000
commit2b5e368e4195749e50188dca4394ac8d25ff39f2 (patch)
tree131113babf703e5e08ddba28e50d72167ec16417 /drivers/spi/spi-mxs.c
parentb2e5dda14fbc2ca1155c614c500c6de6f5b4ba8c (diff)
downloadlwn-2b5e368e4195749e50188dca4394ac8d25ff39f2.tar.gz
lwn-2b5e368e4195749e50188dca4394ac8d25ff39f2.zip
spi/dln2: simplify return flow for dln2_spi_transfer_setup and dln2_spi_enable
This fixes the following kbuild test robot warnings: >> drivers/spi/spi-dln2.c:124:1-4: WARNING: end returns can be simplified if negative or 0 value >> drivers/spi/spi-dln2.c:656:1-4: WARNING: end returns can be simplified if negative or 0 value Additionally, fix a comment after switching from CONFIG_PM_RUNTIME to CONFIG_PM. Reported-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-mxs.c')
0 files changed, 0 insertions, 0 deletions