platform/mellanox: mlxbf-pmc: Cleanup signed/unsigned mix-up
authorShravan Kumar Ramani <shravankr@nvidia.com>
Tue, 13 Feb 2024 11:15:26 +0000 (06:15 -0500)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 13 Feb 2024 11:31:17 +0000 (13:31 +0200)
commit1ae9ffd303c2028048be4cef6221a17442c0175d
tree94c3e4ca063e41fdc4b4b7f53030795c94548778
parentfd23023e2aaa78320243801666690deb751143c2
platform/mellanox: mlxbf-pmc: Cleanup signed/unsigned mix-up

Use unsigned integer types for register values and array indices.
Use %u instead of %d accordingly.

Signed-off-by: Shravan Kumar Ramani <shravankr@nvidia.com>
Link: https://lore.kernel.org/r/d8548c70339a29258a906b2b518e5c48f669795c.1707808180.git.shravankr@nvidia.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/mellanox/mlxbf-pmc.c