aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Hitchcock <bretth256@gmail.com>2017-05-14 13:20:03 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-15 12:51:20 +0200
commit814f3be22e20bc848cc16e53ec325c3f6814c5ca (patch)
tree2ef6c13aa41473eeef45f98f723b9a5e8f1c5d5e
parentstaging: rtl8712: use octal permissions (diff)
downloadlinux-dev-814f3be22e20bc848cc16e53ec325c3f6814c5ca.tar.xz
linux-dev-814f3be22e20bc848cc16e53ec325c3f6814c5ca.zip
staging: fsl-mc: Fix code alignment style issues
Fixing recommendation from checkpatch.pl: "CHECK: Alignment should match open parenthesis" Signed-off-by: Brett Hitchcock <bretth256@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/fsl-mc/bus/dprc-driver.c4
-rw-r--r--drivers/staging/fsl-mc/bus/fsl-mc-bus.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/fsl-mc/bus/dprc-driver.c b/drivers/staging/fsl-mc/bus/dprc-driver.c
index e4b0341d42d7..d723c69a9151 100644
--- a/drivers/staging/fsl-mc/bus/dprc-driver.c
+++ b/drivers/staging/fsl-mc/bus/dprc-driver.c
@@ -681,8 +681,8 @@ static int dprc_probe(struct fsl_mc_device *mc_dev)
}
if (major_ver < DPRC_MIN_VER_MAJOR ||
- (major_ver == DPRC_MIN_VER_MAJOR &&
- minor_ver < DPRC_MIN_VER_MINOR)) {
+ (major_ver == DPRC_MIN_VER_MAJOR &&
+ minor_ver < DPRC_MIN_VER_MINOR)) {
dev_err(&mc_dev->dev,
"ERROR: DPRC version %d.%d not supported\n",
major_ver, minor_ver);
diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c
index 3be5f25ff113..50eb41588a65 100644
--- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c
+++ b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c
@@ -644,10 +644,10 @@ static int get_mc_addr_translation_ranges(struct device *dev,
const __be32 *cell;
ret = parse_mc_ranges(dev,
- &paddr_cells,
- &mc_addr_cells,
- &mc_size_cells,
- &ranges_start);
+ &paddr_cells,
+ &mc_addr_cells,
+ &mc_size_cells,
+ &ranges_start);
if (ret < 0)
return ret;