misc: hpilo: rename device creation loop variable
authorIan Abbott <abbotti@mev.co.uk>
Fri, 19 Jan 2024 13:20:18 +0000 (13:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jan 2024 00:19:43 +0000 (16:19 -0800)
commit9d5043d93d2e27413b84c7909a6fa8565f1a84dd
tree874e5e2e294b2a20d2cbe324650e3806eeec0aff
parent1c9a697bc9b2f77bf6b9efef63d49a72580990e9
misc: hpilo: rename device creation loop variable

In `ilo_probe()`, the loop variable `minor` isn't really the minor
device number, it's the channel or slot number.  Rename it to `slot` for
consistency.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Link: https://lore.kernel.org/r/20240119132032.106053-3-abbotti@mev.co.uk
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/hpilo.c