Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1208148

Re: [PATCH v2] staging: iio: hmc5843: Set iio name dynamically

From Jonathan Cameron <jic23@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] staging: iio: hmc5843: Set iio name dynamically
Date 2015-08-15 22:00 +0200
Message-ID <pXPMw-2Vm-51@gated-at.bofh.it> (permalink)
References <pWEgq-5DF-23@gated-at.bofh.it> <pWG8y-8me-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 12/08/15 16:21, Lars-Peter Clausen wrote:
> On 08/12/2015 03:25 PM, sdliyong@gmail.com wrote:
>> From: Yong Li <sdliyong@gmail.com>
>>
>> Load the driver using the below command:
>> echo hmc5983 0x1e > /sys/bus/i2c/devices/i2c-?/new_device
>>
>> In sysfs, the iio name is hmc5843, however the i2c name is hmc5983,
>> they are inconsistent.
>>
>> With this patch, the iio name will be the same as the i2c device name
>>
>> Signed-off-by: Yong Li <sdliyong@gmail.com>
> 
> Looks good.
> 
> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Applied to the togreg branch of iio.git - initially pushed out as testing
for the autobuilders to play with it.

Thanks,

Jonathan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
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 | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] staging: iio: hmc5843: Set iio name dynamically sdliyong@gmail.com - 2015-08-12 15:30 +0200
  Re: [PATCH v2] staging: iio: hmc5843: Set iio name dynamically Lars-Peter Clausen <lars@metafoo.de> - 2015-08-12 17:30 +0200
    Re: [PATCH v2] staging: iio: hmc5843: Set iio name dynamically Jonathan Cameron <jic23@kernel.org> - 2015-08-15 22:00 +0200

csiph-web