Thread (10 messages) 10 messages, 2 authors, 2020-08-18

Re: [PATCH v1 1/3] pinctrl: intel: Extract intel_pinctrl_get_soc_data() helper for wider use

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: 2020-08-03 13:50:33

On Mon, Aug 03, 2020 at 03:33:18PM +0300, Mika Westerberg wrote:
On Wed, Jul 29, 2020 at 02:57:06PM +0300, Andy Shevchenko wrote:
quoted
intel_pinctrl_get_soc_data() helper can be used in few driver instead of
open-coded variants. Thus, extract it as a standalone API.
...
quoted
+const struct intel_pinctrl_soc_data *intel_pinctrl_get_soc_data(struct platform_device *pdev)
Can we make this take const parameter as well?
You mean

const struct intel_pinctrl_soc_data *
intel_pinctrl_get_soc_data(const struct platform_device *pdev)

?

Sure, I can do it for v2.

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help