mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 16:07:17 -04:00
[CPUFREQ] gx-suspmod: fix "&& 0xff" typo
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Dave Jones <davej@redhat.com>
This commit is contained in:
committed by
Dave Jones
parent
caede347c3
commit
6fdc2d0750
@@ -473,7 +473,7 @@ static int __init cpufreq_gx_init(void)
|
||||
pci_read_config_byte(params->cs55x0, PCI_MODON, &(params->on_duration));
|
||||
pci_read_config_byte(params->cs55x0, PCI_MODOFF, &(params->off_duration));
|
||||
pci_read_config_dword(params->cs55x0, PCI_CLASS_REVISION, &class_rev);
|
||||
params->pci_rev = class_rev && 0xff;
|
||||
params->pci_rev = class_rev & 0xff;
|
||||
|
||||
if ((ret = cpufreq_register_driver(&gx_suspmod_driver))) {
|
||||
kfree(params);
|
||||
|
||||
Reference in New Issue
Block a user