[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1454944486-28284-1-git-send-email-p.zabel@pengutronix.de>
Date: Mon, 8 Feb 2016 16:14:46 +0100
From: Philipp Zabel <p.zabel@...gutronix.de>
To: linux-kernel@...r.kernel.org
Cc: Maxime Ripard <maxime.ripard@...e-electrons.com>,
Antoine Tenart <antoine.tenart@...e-electrons.com>,
Philipp Zabel <p.zabel@...gutronix.de>
Subject: [PATCH] reset: berlin: drop DT cell size check
Now that the DT cell size check has been moved to the core,
there is no need to check again.
Signed-off-by: Philipp Zabel <p.zabel@...gutronix.de>
---
drivers/reset/reset-berlin.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/reset/reset-berlin.c b/drivers/reset/reset-berlin.c
index 970b1ad..ac017df 100644
--- a/drivers/reset/reset-berlin.c
+++ b/drivers/reset/reset-berlin.c
@@ -55,9 +55,6 @@ static int berlin_reset_xlate(struct reset_controller_dev *rcdev,
{
unsigned offset, bit;
- if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells))
- return -EINVAL;
-
offset = reset_spec->args[0];
bit = reset_spec->args[1];
--
2.7.0.rc3
Powered by blists - more mailing lists