platform/x86: think-lmi: Correct NVME index default
authorMark Pearson <mpearson-lenovo@squebb.ca>
Thu, 1 Jun 2023 20:05:51 +0000 (16:05 -0400)
committerHans de Goede <hdegoede@redhat.com>
Thu, 8 Jun 2023 09:00:17 +0000 (11:00 +0200)
commit3206001f704ab4dc7dc0ff69209f770680bcf5bf
treeea9bb3d5c4388248f003260f9e9b10dbab6610ee
parent4cebb42412248d28df6de01420cfac5654428d41
platform/x86: think-lmi: Correct NVME index default

The NVME/HDD index used by WMI starts at 1 so corrected the default
appropriately.
Note, zero index is still permitted in case it is required on future
platforms.
Documentation updated correspondingly

Signed-off-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230601200552.4396-7-mpearson-lenovo@squebb.ca
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Documentation/ABI/testing/sysfs-class-firmware-attributes
drivers/platform/x86/think-lmi.c