Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1222652
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Lee Jones <lee.jones@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 7/8] mfd: 88pm860x: Move over to new I2C device .probe() call |
| Date | Fri, 11 Sep 2015 11:30:05 +0200 |
| Message-ID | <q7sOF-5Sc-63@gated-at.bofh.it> (permalink) |
| References | <q6SrL-2MF-7@gated-at.bofh.it> <q6SrL-2MF-17@gated-at.bofh.it> |
| X-Original-To | Kieran Bingham <kieranbingham@gmail.com> |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=QQ7RbOiIB+CqgGTPxOqmDINfL3ZkDRdMgNTm1Ftb+iY=; b=KNHEJ6yQAr/SnxSj4euFo2iKbFHDeBAibtV1ZuHsGc5jCCbGpMjaigDB+Me1I3zPmU y4kNA2xVHaa4QNmx2x0AWUoGIAOiUWdNV6fCnbj+F+kE6WRPH75ZSScQumtecBxq4f2N gXPpo8n3h/IlQ8yl/xly1vTHqbP2peG8NaHY23SNvwZRMIzqbi22QWjZ9DS0XvzSi+9H xeg+jEyybcSxfqkHXvfwEcKSGGEH3SsObW5blhyYnsb83wmCCTD2Orbu/38EkJdd1qfd Jhmd8/ESJjF53TfusihF7RnXBk+dUcooASO0LS0eE5QozbwRf0a7b7StLCujAEVpFvG1 kXsg== |
| X-Gm-Message-State | ALoCoQnvI+ps+mXNHmjcddB1jZ49Nb3RJPDOowdOgRGVhGg0vW5iyqqkN+KsBe5QLppe6ISfeZKw |
| X-Received | by 10.180.87.198 with SMTP id ba6mr15655707wib.39.1441963764600; Fri, 11 Sep 2015 02:29:24 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 51 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Wolfram Sang <wsa@the-dreams.de>, Samuel Ortiz <sameo@linux.intel.com>, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linus.walleij@linaro.org, grant.likely@linaro.org |
| X-Original-Date | Fri, 11 Sep 2015 10:29:21 +0100 |
| X-Original-Message-ID | <20150911092921.GM3260@x1> |
| X-Original-References | <1441823627-6227-1-git-send-email-kieranbingham@gmail.com> <1441823627-6227-8-git-send-email-kieranbingham@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1222652 |
Show key headers only | View raw
On Wed, 09 Sep 2015, Kieran Bingham wrote:
> From: Lee Jones <lee.jones@linaro.org>
>
> As part of an effort to rid the mostly unused second parameter for I2C
> related .probe() functions and to conform to other existing frameworks
> we're moving over to a temporary replacement .probe() call-back.
>
> Acked-by: Grant Likely <grant.likely@linaro.org>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
SoB?
> ---
> drivers/mfd/88pm860x-core.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/mfd/88pm860x-core.c b/drivers/mfd/88pm860x-core.c
> index 3269a99..a499d70 100644
> --- a/drivers/mfd/88pm860x-core.c
> +++ b/drivers/mfd/88pm860x-core.c
> @@ -1130,8 +1130,7 @@ static int pm860x_dt_init(struct device_node *np,
> return 0;
> }
>
> -static int pm860x_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> +static int pm860x_probe(struct i2c_client *client)
> {
> struct pm860x_platform_data *pdata = dev_get_platdata(&client->dev);
> struct device_node *node = client->dev.of_node;
> @@ -1257,7 +1256,7 @@ static struct i2c_driver pm860x_driver = {
> .pm = &pm860x_pm_ops,
> .of_match_table = pm860x_dt_ids,
> },
> - .probe = pm860x_probe,
> + .probe2 = pm860x_probe,
> .remove = pm860x_remove,
> .id_table = pm860x_id_table,
> };
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v4 7/8] mfd: 88pm860x: Move over to new I2C device .probe() call Kieran Bingham <kieranbingham@gmail.com> - 2015-09-09 20:40 +0200 Re: [PATCH v4 7/8] mfd: 88pm860x: Move over to new I2C device .probe() call Lee Jones <lee.jones@linaro.org> - 2015-09-11 11:30 +0200
csiph-web