PM: EM: Fix nr_states warnings in static checks
authorLukasz Luba <lukasz.luba@arm.com>
Wed, 21 Feb 2024 14:25:50 +0000 (14:25 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 22 Feb 2024 19:24:20 +0000 (20:24 +0100)
commit3a561ea2413ea5a740f3b1d6b5355d46f88a7456
tree2c71b9a7ff4af33824e5cf790cd8eca002196fa2
parenteb1ad4d431674368bab4ef4e312f2e8c158294f9
PM: EM: Fix nr_states warnings in static checks

During the static checks nr_states has been mentioned by the kernel test
robot. Fix the warning in those 2 places.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/energy_model.c