Skip to content

Commit

Permalink
reset: berlin: replace unsigned with unsigned int
Browse files Browse the repository at this point in the history
Fixes a checkpatch warning:

  WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
  torvalds#55: FILE: drivers/reset/reset-berlin.c:55:
  +	unsigned offset, bit;

Signed-off-by: Philipp Zabel <[email protected]>
  • Loading branch information
pH5 committed May 10, 2021
1 parent 1c5e05c commit 534d3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/reset/reset-berlin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 534d3fa

Please sign in to comment.