firmware: arm_scpi: pre-populate dvfs info in scpi_probe
commit931cf0c53e6999375eac65f3650a656b88634b9d
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 29 Sep 2017 21:44:05 +0000 (29 23:44 +0200)
committerSudeep Holla <sudeep.holla@arm.com>
Wed, 4 Oct 2017 10:09:46 +0000 (4 11:09 +0100)
tree1133bda2d05adc797fe1959a8e8fc8dbceaf7498
parentcfe8a9c9aaf47af3d9e6fe4c4b03f4a88844746d
firmware: arm_scpi: pre-populate dvfs info in scpi_probe

Pre-populating the dvfs info data in scpi_probe allows to make all
memory allocations device-managed. This helps to simplify scpi_remove
and eventually to get rid of scpi_remove completely.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
[sudeep.holla: changed to continue probe even if scpi_dvfs_populate_info fails]
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scpi.c