Re: [PATCH v9 3/7] mailbox: qcom: Move the apcs struct into a separate header
From: Bjorn Andersson
Date: Thu Oct 26 2017 - 00:28:34 EST
On Thu 21 Sep 09:49 PDT 2017, Georgi Djakov wrote:
> Move the structure shared by the APCS IPC device and its subdevices
> into a separate header file.
>
As you're creating the apcs regmap with devm_regmap_init_mmio() you can
just call dev_get_regmap(dev->parent) in your child to get the handle.
But I would prefer that you just add the clock code to the existing
driver.
Regards,
Bjorn