[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1417766393.22963.9.camel@mm-sol.com>
Date: Fri, 05 Dec 2014 09:59:53 +0200
From: "Ivan T. Ivanov" <iivanov@...sol.com>
To: Soren Brinkmann <soren.brinkmann@...inx.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Michal Simek <michal.simek@...inx.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Alessandro Rubini <rubini@...pv.it>,
Heiko Stuebner <heiko@...ech.de>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
linux-rockchip@...ts.infradead.org, linux-sh@...r.kernel.org,
Bjorn Andersson <bjorn.andersson@...ymobile.com>,
Beniamino Galvani <b.galvani@...il.com>
Subject: Re: [PATCH v2 7/7] pinctrl: qcom-spmi-gpio: Migrate to
pinconf-generic
On Thu, 2014-11-27 at 17:26 -0800, Soren Brinkmann wrote:
>
> static const struct pinconf_ops pmic_gpio_pinconf_ops = {
> + .is_generic= true,
> .pin_config_group_get= pmic_gpio_config_get,
> .pin_config_group_set= pmic_gpio_config_set,
> .pin_config_group_dbg_show= pmic_gpio_config_dbg_show,
> @@ -848,6 +742,9 @@ static int pmic_gpio_probe(struct platform_device *pdev)
> pctrldesc->name = dev_name(dev);
> pctrldesc->pins = pindesc;
> pctrldesc->npins = npins;
> + pctrldesc->num_dt_params = ARRAY_SIZE(pmic_gpio_bindings);
> + pctrldesc->params = pmic_gpio_bindings;
> + pctrldesc->conf_items = pmic_conf_items;
>
What will happen if number of conf_items is less than number of params?
Ivan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists