aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/omapdrm/omap_connector.c
diff options
context:
space:
mode:
authorStephen Boyd <swboyd@chromium.org>2018-09-24 16:52:34 -0700
committerWolfram Sang <wsa@the-dreams.de>2018-10-11 23:09:20 +0200
commitef8d1639f2b71c683277cc2b27354541792f6ecf (patch)
tree4d99d6758de6c28edd48f172d727527ce676e864 /drivers/gpu/drm/omapdrm/omap_connector.c
parent90fb814b6c025da45f71db1703cffe3fe87f575c (diff)
i2c: i2c-qcom-geni: Simplify tx/rx functions
We never really look at the 'ret' local variable in these functions, so let's remove it to make way for shorter and simpler code. Furthermore, we can shorten some lines by adding two local variables for the SE and the message length so that everything fits in 80 columns and testing the 'dma_buf' local variable in lieu of the 'mode' local variable. And kernel style is to leave the return statement by itself, detached from the rest of the function. Signed-off-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Alok Chauhan <alokc@codeaurora.org> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_connector.c')
0 files changed, 0 insertions, 0 deletions