Skip to content

Commit

Permalink
regulator: fan53555: Fixup report wrong vendor message
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Axel Lin authored and Mark Brown committed Sep 18, 2014
1 parent 6f34163 commit fe23053
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/regulator/fan53555.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,7 @@ static int fan53555_device_setup(struct fan53555_device_info *di,
ret = fan53555_voltages_setup_silergy(di);
break;
default:
dev_err(di->dev,
"vendor %d not supported!\n", di->chip_id);
dev_err(di->dev, "vendor %d not supported!\n", di->vendor);
return -EINVAL;
}

Expand Down

0 comments on commit fe23053

Please sign in to comment.