summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/dell-smbios.c
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2017-03-14 11:26:31 +0100
committerDarren Hart (VMware) <dvhart@infradead.org>2017-03-23 09:03:23 -0700
commit979800e73d2fcda96cda5076f3425f823fdda0d8 (patch)
treeb13ddec9624f10e77f56c699ee29310e988356a8 /drivers/platform/x86/dell-smbios.c
parentc33f4c044d2bb99bb42e1315ede267843dd81d4a (diff)
downloadlwn-979800e73d2fcda96cda5076f3425f823fdda0d8.tar.gz
lwn-979800e73d2fcda96cda5076f3425f823fdda0d8.zip
platform/x86: fujitsu-laptop: remove pf_device field from struct fujitsu_bl
Both struct fujitsu_bl and struct fujitsu_laptop have a pf_device field. Up until now the latter has been redundant, which is logically incorrect because the primary function of the platform device created by fujitsu-laptop is to provide laptop-related (not brightness-related) attributes to userspace. Remove the pf_device field from struct fujitsu_bl and make all module code use the pf_device field of struct fujitsu_laptop instead. Suggested-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: Michał Kępień <kernel@kempniu.pl> Tested-by: Jonathan Woithe <jwoithe@just42.net> Reviewed-by: Jonathan Woithe <jwoithe@just42.net> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'drivers/platform/x86/dell-smbios.c')
0 files changed, 0 insertions, 0 deletions