[PATCH] PM / Domains: Change prototype for the ->attach_dev() callback
From: khilman@kernel.org (Kevin Hilman)
Date: 2014-10-30 20:38:30
Also in:
linux-pm, linux-samsung-soc
From: khilman@kernel.org (Kevin Hilman)
Date: 2014-10-30 20:38:30
Also in:
linux-pm, linux-samsung-soc
"Rafael J. Wysocki" [off-list ref] writes:
On Thursday, October 30, 2014 01:02:49 PM Ulf Hansson wrote:quoted
Convert the prototype to return and int. This is just an initial step, needed to support error handling. Signed-off-by: Ulf Hansson <redacted>
Acked-by: Kevin Hilman <redacted>
quoted
This patch is intended as fix for 3.18 rc[n]. Why? There are other SOC specific patches around that adds genpd support and which implements the ->attach_dev() callback. To prevent having an "atomic" patch during the next release cycle, let's change the prototype now instead. Further patches will add the actual error handling in genpd and these can then be reviewed and tested thoroughly.So we have no users of ->attach_dev at the moment, right?
Not in mainline, but there are a couple getting ready to hit -next, so we wanted to fix this before they arrive so that adding the error handling will be easier. Kevin