firmware: arm_scpi: remove all single element structures
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 5 Dec 2017 22:17:09 +0000 (23:17 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 23 Feb 2018 15:12:56 +0000 (15:12 +0000)
commitc10bd41ab0b2508a98651ab3e4e9fbc85425eaad
treedf51fd5b947fc0c2f27583dafc7f6a13f10ebfe5
parent27901cccf8dd7b9e8d77c2637a2b306d731e567d
firmware: arm_scpi: remove all single element structures

Both clk_get_value and sensor_value structures contains a single element
and hence needs no packing making the whole structure defination
unnecessary.

This patch gets rid of both those unnecessary structures.

Tested-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scpi.c