WSL2-Linux-Kernel/arch/arm/mach-omap1
Geert Uytterhoeven 8cbbf1745d 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>
2018-02-14 08:35:14 -08:00
..
include/mach License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile.boot
ams-delta-fiq-handler.S
ams-delta-fiq.c
board-ams-delta.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-fsample.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-generic.c
board-h2-mmc.c
board-h2.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-h2.h
board-h3-mmc.c
board-h3.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-h3.h
board-htcherald.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-innovator.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-nand.c
board-nokia770.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-osk.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-palmte.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-palmtt.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-palmz71.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-perseus2.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-sx1-mmc.c
board-sx1.c ARM: omap1: add const and initconst to omap_lcd_config 2017-10-02 12:33:15 -07:00
board-sx1.h
camera.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
clock.c ARM: OMAP1: clock: Fix debugfs_create_*() usage 2018-02-14 08:35:14 -08:00
clock.h
clock_data.c
common.h
devices.c
dma.c
fb.c
flash.c
flash.h
fpga.c
fpga.h
gpio7xx.c
gpio15xx.c
gpio16xx.c
i2c.c
id.c
io.c
iomap.h
irq.c
lcd_dma.c
mcbsp.c
mmc.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mux.c
ocpi.c
opp.h
opp_data.c
pm.c
pm.h
pm_bus.c
reset.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
serial.c
sleep.S
soc.h
sram-init.c
sram.S
sram.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
time.c
timer.c
timer32k.c
usb.c