Skip to content
Commit e74c2d65 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Zhang Rui
Browse files

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 0be86969
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment