Commit 27ca5aaa authored by Philipp Zabel's avatar Philipp Zabel

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: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent 8a56736a
...@@ -55,9 +55,6 @@ static int berlin_reset_xlate(struct reset_controller_dev *rcdev, ...@@ -55,9 +55,6 @@ static int berlin_reset_xlate(struct reset_controller_dev *rcdev,
{ {
unsigned offset, bit; unsigned offset, bit;
if (WARN_ON(reset_spec->args_count != rcdev->of_reset_n_cells))
return -EINVAL;
offset = reset_spec->args[0]; offset = reset_spec->args[0];
bit = reset_spec->args[1]; bit = reset_spec->args[1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment