diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2017-10-05 11:31:36 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2017-10-09 10:17:16 +0100 |
commit | 1b36633ea9c80f91fab505002dd7548febc51812 (patch) | |
tree | 4ec3773b9c4f5761a0b4d347895fe41560e7b9d3 /drivers/firmware | |
parent | 5c7ae6467df557f25daf42e78202531bc44c83df (diff) | |
download | op-kernel-dev-1b36633ea9c80f91fab505002dd7548febc51812.zip op-kernel-dev-1b36633ea9c80f91fab505002dd7548febc51812.tar.gz |
firmware: arm_scpi: drop unnecessary type cast to scpi_shared_mem
This patch drops the only present type cast of the SCPI payload pointer
to scpi_shared_mem inorder to align with other occurrences, IOW for
consistency.
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/arm_scpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scpi.c index c923d1e..a888970 100644 --- a/drivers/firmware/arm_scpi.c +++ b/drivers/firmware/arm_scpi.c @@ -453,7 +453,7 @@ static void scpi_tx_prepare(struct mbox_client *c, void *msg) unsigned long flags; struct scpi_xfer *t = msg; struct scpi_chan *ch = container_of(c, struct scpi_chan, cl); - struct scpi_shared_mem *mem = (struct scpi_shared_mem *)ch->tx_payload; + struct scpi_shared_mem *mem = ch->tx_payload; if (t->tx_buf) { if (scpi_info->is_legacy) |