summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-01-17 15:08:19 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-02-05 16:42:31 +0100
commit27ca5aaa3676a135d3767e8ffe1ba1f5ee9ec0bb (patch)
tree4ef94daaac8873b73c38209c8974260d76a83fac /drivers/reset
parent8a56736a2f53abe6edd1c67acc4f6161d5c16c07 (diff)
downloadlinux-27ca5aaa3676a135d3767e8ffe1ba1f5ee9ec0bb.tar.bz2
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@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-berlin.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/reset/reset-berlin.c b/drivers/reset/reset-berlin.c
index 970b1ad60293..ac017df8858c 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];