aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/dell-smbios.h
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2016-01-22 15:27:18 +0100
committerDarren Hart <dvhart@linux.intel.com>2016-03-23 10:05:40 -0700
commit17070f242aa989c33b227e61ea060f768a77f2dc (patch)
treec6bd59363b8e946a0989cad36652ba4e798c54a7 /drivers/platform/x86/dell-smbios.h
parentdell-smbios: rename dell_send_request() to dell_smbios_send_request() (diff)
downloadlinux-dev-17070f242aa989c33b227e61ea060f768a77f2dc.tar.xz
linux-dev-17070f242aa989c33b227e61ea060f768a77f2dc.zip
dell-smbios: don't pass an SMBIOS buffer to dell_smbios_send_request()
Passing an SMBIOS buffer pointer to dell_smbios_send_request() is redundant as it should always operate on the SMBIOS buffer exported from the module. Signed-off-by: Michał Kępień <kernel@kempniu.pl> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/platform/x86/dell-smbios.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/dell-smbios.h b/drivers/platform/x86/dell-smbios.h
index 33ed9712430b..4220ac1fe703 100644
--- a/drivers/platform/x86/dell-smbios.h
+++ b/drivers/platform/x86/dell-smbios.h
@@ -42,8 +42,7 @@ void dell_smbios_get_buffer(void);
void dell_smbios_clear_buffer(void);
void dell_smbios_release_buffer(void);
struct calling_interface_buffer *
-dell_smbios_send_request(struct calling_interface_buffer *buffer,
- int class, int select);
+dell_smbios_send_request(int class, int select);
int find_token_id(int tokenid);
int find_token_location(int tokenid);