diff options
author | Benjamin Romer <benjamin.romer@unisys.com> | 2014-10-23 14:31:07 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-27 10:33:15 +0800 |
commit | 1aa46ce43dc26e69c8e46ac7d97fa0ef55178815 (patch) | |
tree | e76dbb9c5ab94a42103355e901e545782749c8c2 /drivers/staging/unisys/common-spar | |
parent | 8bde404338709f5d34f4123dd94e39d42c1a6957 (diff) |
staging: unisys: fix parameters for SPAR_VBUS_CHANNEL_OK_CLIENT macro
Remove the unused logCtx parameter and fix the CamelCase name:
pChannel => ch
Update calls to the macro to remove the unused second parameter.
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/common-spar')
-rw-r--r-- | drivers/staging/unisys/common-spar/include/channels/vbuschannel.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/staging/unisys/common-spar/include/channels/vbuschannel.h b/drivers/staging/unisys/common-spar/include/channels/vbuschannel.h index aa2b34badf37..c1a73df43f35 100644 --- a/drivers/staging/unisys/common-spar/include/channels/vbuschannel.h +++ b/drivers/staging/unisys/common-spar/include/channels/vbuschannel.h @@ -43,13 +43,13 @@ static const uuid_le spar_vbus_channel_protocol_uuid = * increment this. */ #define SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID 1 -#define SPAR_VBUS_CHANNEL_OK_CLIENT(pChannel, logCtx) \ - (spar_check_channel_client(pChannel, \ - spar_vbus_channel_protocol_uuid, \ - "vbus", \ - sizeof(struct ultra_vbus_channel_protocol),\ - SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID, \ - SPAR_VBUS_CHANNEL_PROTOCOL_SIGNATURE)) \ +#define SPAR_VBUS_CHANNEL_OK_CLIENT(ch) \ + spar_check_channel_client(ch, \ + spar_vbus_channel_protocol_uuid, \ + "vbus", \ + sizeof(struct ultra_vbus_channel_protocol),\ + SPAR_VBUS_CHANNEL_PROTOCOL_VERSIONID, \ + SPAR_VBUS_CHANNEL_PROTOCOL_SIGNATURE) #define ULTRA_VBUS_CHANNEL_OK_SERVER(actualBytes) \ (spar_check_channel_server(spar_vbus_channel_protocol_uuid, \ |