hwmon: Use linux/of_platform.h instead of asm