* [PATCH RESEND 2/2] iio: ak8975: Add device name
@ 2014-02-04 9:16 Beomho Seo
2014-02-08 10:32 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Beomho Seo @ 2014-02-04 9:16 UTC (permalink / raw)
To: linux-iio
Cc: Jonathan Cameron, ldewangan, Peter Meerwald, Myungjoo Ham,
Jaehoon Chung
This patch add device name.
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
---
drivers/iio/magnetometer/ak8975.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c
index 0542354..74866d1 100644
--- a/drivers/iio/magnetometer/ak8975.c
+++ b/drivers/iio/magnetometer/ak8975.c
@@ -513,6 +513,7 @@ static int ak8975_probe(struct i2c_client *client,
indio_dev->channels = ak8975_channels;
indio_dev->num_channels = ARRAY_SIZE(ak8975_channels);
indio_dev->info = &ak8975_info;
+ indio_dev->name = id->name;
indio_dev->modes = INDIO_DIRECT_MODE;
err = iio_device_register(indio_dev);
--
1.7.9.5
--
Best Regards,
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH RESEND 2/2] iio: ak8975: Add device name
2014-02-04 9:16 [PATCH RESEND 2/2] iio: ak8975: Add device name Beomho Seo
@ 2014-02-08 10:32 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2014-02-08 10:32 UTC (permalink / raw)
To: Beomho Seo, linux-iio
Cc: ldewangan, Peter Meerwald, Myungjoo Ham, Jaehoon Chung
On 04/02/14 09:16, Beomho Seo wrote:
>
> This patch add device name.
>
> Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Applied to the togreg branch of iio.git
Whilst this is bringing the driver inline with the ABI, it probably doesn't
count as a bug fix and so can wait until the next merge window.
Thanks,
Jonathan
> ---
> drivers/iio/magnetometer/ak8975.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/iio/magnetometer/ak8975.c b/drivers/iio/magnetometer/ak8975.c
> index 0542354..74866d1 100644
> --- a/drivers/iio/magnetometer/ak8975.c
> +++ b/drivers/iio/magnetometer/ak8975.c
> @@ -513,6 +513,7 @@ static int ak8975_probe(struct i2c_client *client,
> indio_dev->channels = ak8975_channels;
> indio_dev->num_channels = ARRAY_SIZE(ak8975_channels);
> indio_dev->info = &ak8975_info;
> + indio_dev->name = id->name;
> indio_dev->modes = INDIO_DIRECT_MODE;
>
> err = iio_device_register(indio_dev);
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-08 10:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-04 9:16 [PATCH RESEND 2/2] iio: ak8975: Add device name Beomho Seo
2014-02-08 10:32 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).