]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
thermal/x86 pkg temp: Remove debugfs_create_u32() casts
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 2 Jan 2018 15:30:57 +0000 (16:30 +0100)
committerZhang Rui <rui.zhang@intel.com>
Sat, 13 Jan 2018 13:20:58 +0000 (21:20 +0800)
commite74c2d65ff2e3607e392ae3e779da47135c85966
tree635eee3e0edead8f9dce53e82c6b37d08e38e1b4
parent0be86969ae385c5c944286bd9f66068525de15ee
thermal/x86 pkg temp: Remove debugfs_create_u32() casts

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 <geert+renesas@glider.be>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/x86_pkg_temp_thermal.c