aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/xilinx-selectmap.c
diff options
context:
space:
mode:
authorJoaquín Ignacio Aramendía <[email protected]>2023-04-29 11:25:48 -0300
committerGuenter Roeck <[email protected]>2023-06-08 06:41:16 -0700
commit5d06ec4279a8605b0fa53dd649d7feda3f06d0c2 (patch)
tree54dcf4cb9ec109a4d62c2ff789638db8ed409299 /drivers/fpga/xilinx-selectmap.c
parent790dec13c0128dfec5b6bf28bef433661875e634 (diff)
hwmon: (oxp-sensors) Use less convoluted enum cast
Change .driver_data = (void *) &(enum type) {enum_literal}; to more readable form: .driver_data = (void *) enum_literal; and corresponding cast usage as board type flag. Signed-off-by: Joaquín Ignacio Aramendía <[email protected]> Link: https://lore.kernel.org/r/[email protected] [groeck: Use double cast for assignment from driver_data to fix clang build warning] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-selectmap.c')
0 files changed, 0 insertions, 0 deletions