diff options
author | Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> | 2019-10-15 18:54:14 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2019-10-20 16:04:13 +0300 |
commit | c045006420813ed43c794ccf334c7b6116a16366 (patch) | |
tree | 02220155adf9268beb7cfa91a26b278f93ca141e /drivers/power/supply/z2_battery.c | |
parent | bffc687cc6c2b2833a2ef6927db4468437b2ba37 (diff) | |
download | linux-c045006420813ed43c794ccf334c7b6116a16366.tar.xz |
power: reset: at91: fix __le32 cast in reset code
The writel() takes standard integers, not __le32 so
fix the following sparse warnings by removing the
cpu_to_le32() calls.
drivers/power/reset/at91-reset.c:134:9: warning: cast from restricted __le32
drivers/power/reset/at91-reset.c:143:9: warning: cast from restricted __le32
This has made no code changes, the md5sums pre and post applying
this patch are the same. The at91 should be natively little endian
anyway.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/z2_battery.c')
0 files changed, 0 insertions, 0 deletions