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
..
2013-03-13 04:10:57 -06:00
2015-12-01 21:52:50 +01:00
2015-12-01 21:52:50 +01:00
2012-10-31 15:37:14 -07:00
2015-07-28 13:58:13 +02:00
2016-11-10 12:42:49 -07:00
2013-06-18 00:12:34 -07:00
2012-10-31 15:37:14 -07:00
2012-10-31 15:37:14 -07:00