The return value of device_get_match_data was still explicitly casted to the driver-internal type. However, since this function returns 'const void *' and in C void pointers are automatically casted, this isn't needed. Thus, drop it. Link: https://github.com/openwrt/openwrt/pull/24310 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>