From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754971AbbHLPVv (ORCPT ); Wed, 12 Aug 2015 11:21:51 -0400 Received: from smtp-out-194.synserver.de ([212.40.185.194]:1090 "EHLO smtp-out-194.synserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752588AbbHLPVt (ORCPT ); Wed, 12 Aug 2015 11:21:49 -0400 X-SynServer-TrustedSrc: 1 X-SynServer-AuthUser: lars@metafoo.de X-SynServer-PPID: 17608 Message-ID: <55CB6475.4020506@metafoo.de> Date: Wed, 12 Aug 2015 17:21:25 +0200 From: Lars-Peter Clausen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: sdliyong@gmail.com, jic23@kernel.org, knaack.h@gmx.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, cristina.opriceana@gmail.com, tolga.ceylan@gmail.com, k.kozlowski@samsung.com, linux-iio@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, marek@goldelico.com Subject: Re: [PATCH v2] staging: iio: hmc5843: Set iio name dynamically References: <1439385946-28388-1-git-send-email-sdliyong@gmail.com> In-Reply-To: <1439385946-28388-1-git-send-email-sdliyong@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/12/2015 03:25 PM, sdliyong@gmail.com wrote: > From: Yong Li > > 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 Looks good. Reviewed-by: Lars-Peter Clausen