staging: unisys: fix CamelCase names in struct efi_spar_indication

Fix CamelCase names and update all references to them:

BootToFirmwareUI => boot_to_fw_ui
ClearNvram => clear_nvram
ClearCmos => clear_cmos
BootToTool => boot_to_tool

Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Benjamin Romer 2014-10-23 14:30:22 -04:00 committed by Greg Kroah-Hartman
parent 755e2ecc7d
commit 2450301a67
2 changed files with 6 additions and 6 deletions

View file

@ -151,10 +151,10 @@ struct pci_id {
};
struct efi_spar_indication {
u64 BootToFirmwareUI:1; /* Bit 0: Stop in uefi ui */
u64 ClearNvram:1; /* Bit 1: Clear NVRAM */
u64 ClearCmos:1; /* Bit 2: Clear CMOS */
u64 BootToTool:1; /* Bit 3: Run install tool */
u64 boot_to_fw_ui:1; /* Bit 0: Stop in uefi ui */
u64 clear_nvram:1; /* Bit 1: Clear NVRAM */
u64 clear_cmos:1; /* Bit 2: Clear CMOS */
u64 boot_to_tool:1; /* Bit 3: Run install tool */
/* remaining bits are available */
};

View file

@ -393,7 +393,7 @@ static ssize_t boottotool_show(struct device *dev,
EfiSparIndication), &efiSparIndication,
sizeof(struct efi_spar_indication));
return scnprintf(buf, PAGE_SIZE, "%u\n",
efiSparIndication.BootToTool);
efiSparIndication.boot_to_tool);
}
static ssize_t boottotool_store(struct device *dev,
@ -406,7 +406,7 @@ static ssize_t boottotool_store(struct device *dev,
if (kstrtoint(buf, 10, &val) != 0)
return -EINVAL;
efiSparIndication.BootToTool = val;
efiSparIndication.boot_to_tool = val;
ret = visorchannel_write(ControlVm_channel,
offsetof(ULTRA_CONTROLVM_CHANNEL_PROTOCOL,
EfiSparIndication),