[PATCH] thermal/x86 pkg temp: Remove debugfs_create_u32() casts

2018-01-02 Thread Geert Uytterhoeven
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. Signed-off-by: Geert Uytterhoeven

[PATCH] thermal/x86 pkg temp: Remove debugfs_create_u32() casts

2018-01-02 Thread Geert Uytterhoeven
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. Signed-off-by: Geert Uytterhoeven ---