Skip to content
Commit c0450064 authored by Ben Dooks (Codethink)'s avatar Ben Dooks (Codethink) Committed by Sebastian Reichel
Browse files

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: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent bffc687c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment