mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
soc: qcom: pmic_glink: rename callback function pointer
In preparation for subsystem restart (SSR) and protection domain restart (PDR) where subsystem state transitions would be sent to PMIC Glink clients via another callback function, change the client callback function pointer name to msg_cb. This would convey that this callback is for delivering the messages to a client upon its registration. Change-Id: I584d6c5d3898fe54e6928b25502d6382ce6ccbc4 Signed-off-by: Subbaraman Narayanamurthy <[email protected]>
This commit is contained in:
parent
17c22334d7
commit
9d65615c15
7 changed files with 16 additions and 14 deletions
|
|
@ -321,7 +321,7 @@ static int spmi_glink_probe(struct platform_device *pdev)
|
|||
|
||||
client_data.id = MSG_OWNER_REG_DUMP;
|
||||
client_data.name = "spmi_register_debug";
|
||||
client_data.callback = spmi_glink_callback;
|
||||
client_data.msg_cb = spmi_glink_callback;
|
||||
client_data.priv = gd;
|
||||
|
||||
gd->client = pmic_glink_register_client(&pdev->dev, &client_data);
|
||||
|
|
|
|||
Loading…
Reference in a new issue