summaryrefslogtreecommitdiffstats
path: root/drivers/reset
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2021-03-04 16:59:48 +0100
committerPhilipp Zabel <p.zabel@pengutronix.de>2021-05-10 09:41:42 +0200
commit534d3fa24e9f45d21f4c4868c78690a32838d3fe (patch)
treec7ee15292cd8c909a49a2e708363f4d517bfeebb /drivers/reset
parent1c5e05c23f4a64fa3cee8af1ef904921803fffb1 (diff)
downloadlinux-stable-534d3fa24e9f45d21f4c4868c78690a32838d3fe.tar.gz
linux-stable-534d3fa24e9f45d21f4c4868c78690a32838d3fe.tar.bz2
linux-stable-534d3fa24e9f45d21f4c4868c78690a32838d3fe.zip
reset: berlin: replace unsigned with unsigned int
Fixes a checkpatch warning: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' #55: FILE: drivers/reset/reset-berlin.c:55: + unsigned offset, bit; Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-berlin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-berlin.c b/drivers/reset/reset-berlin.c
index 371197bbd055..094dba98cebc 100644
--- a/drivers/reset/reset-berlin.c
+++ b/drivers/reset/reset-berlin.c
@@ -55,7 +55,7 @@ static const struct reset_control_ops berlin_reset_ops = {
static int berlin_reset_xlate(struct reset_controller_dev *rcdev,
const struct of_phandle_args *reset_spec)
{
- unsigned offset, bit;
+ unsigned int offset, bit;
offset = reset_spec->args[0];
bit = reset_spec->args[1];