diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-01-02 16:25:35 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2018-02-14 17:35:14 +0100 |
commit | 8cbbf1745dcde7ba7e423dc70619d223de90fd43 (patch) | |
tree | 7b7aca9b80a0278813b26bab80343e0d9a9be354 /arch/arm/boot/dts/omap5-uevm.dts | |
parent | ARM: OMAP2+: Fix sar_base inititalization for HS omaps (diff) | |
download | linux-8cbbf1745dcde7ba7e423dc70619d223de90fd43.tar.xz linux-8cbbf1745dcde7ba7e423dc70619d223de90fd43.zip |
ARM: OMAP1: clock: Fix debugfs_create_*() usage
When exposing data access through debugfs, the correct
debugfs_create_*() functions must be used, depending on data type.
Remove all casts from data pointers passed to debugfs_create_*()
functions, as such casts prevent the compiler from flagging bugs.
Correct all wrong usage:
- clk.rate is unsigned long, not u32,
- clk.flags is u8, not u32, which exposed the successive
clk.rate_offset and clk.src_offset fields.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap5-uevm.dts')
0 files changed, 0 insertions, 0 deletions