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:
Subbaraman Narayanamurthy 2020-03-30 12:50:18 -07:00
commit 9d65615c15
7 changed files with 16 additions and 14 deletions

View file

@ -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);