fpga: dfl: fme: use SI unit prefix macros
authorPeter Colberg <peter.colberg@intel.com>
Wed, 5 Jul 2023 03:35:48 +0000 (23:35 -0400)
committerXu Yilun <yilun.xu@intel.com>
Mon, 10 Jul 2023 06:41:53 +0000 (14:41 +0800)
commit1b75f5e9f49308d1fa9abe1ec0ba7cb5bde173f6
treec4f2306a52cefa4587c5594b8593dbd75bff4fee
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
fpga: dfl: fme: use SI unit prefix macros

Substitute SI prefixes MILLI for temperature and MICRO for power, which
are exported via the hwmon sysfs interface in m°C and ųW, respectively.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Peter Colberg <peter.colberg@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20230705033548.10737-1-peter.colberg@intel.com
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
drivers/fpga/dfl-fme-main.c