From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from sabertooth01.qualcomm.com ([65.197.215.72]:55984 "EHLO sabertooth01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752452AbbCLNqj (ORCPT ); Thu, 12 Mar 2015 09:46:39 -0400 Date: Thu, 12 Mar 2015 19:16:21 +0530 From: Rajkumar Manoharan To: Kalle Valo CC: , Subject: Re: [PATCH 3/3] ath10k: add symlink for hwmon device Message-ID: <20150312134618.GA3305@qca.qualcomm.com> (sfid-20150312_144642_654337_B622190B) References: <1424437452-28161-1-git-send-email-rmanohar@qti.qualcomm.com> <1424437452-28161-3-git-send-email-rmanohar@qti.qualcomm.com> <87pp8gyi7x.fsf@kamboji.qca.qualcomm.com> <20150310164223.GA11700@qca.qualcomm.com> <878uf2uzby.fsf@kamboji.qca.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" In-Reply-To: <878uf2uzby.fsf@kamboji.qca.qualcomm.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, Mar 12, 2015 at 03:20:33PM +0200, Kalle Valo wrote: > Rajkumar Manoharan writes: > > > On Tue, Mar 10, 2015 at 05:39:46PM +0200, Kalle Valo wrote: > >> Rajkumar Manoharan writes: > >> > >> > Add symbloic link "thermal_sensors" for hwmon devices for better > >> > readability. > >> > > >> > /sys/class/ieee80211/phyX/device/thermal_sensors -> > >> > sys/class/ieee80211/phyX/device/hwmon/hwmonY > >> > >> I don't get it, how does that improve readability? Also I don't see any > >> other driver doing this, so isn't this just some private hack and not a > >> proper generic interface? > > > > The patch is providing same level access to monitoring device similar to > > cooling device. > > > > cooling_device -> ../../../../../virtual/thermal/cooling_deviceX > > thermal_sensors -> hwmon/hwmonX > > Is this documented somewhere? We cannot just start inventing sysfs > interfaces on our own. > Agree. this is not a standard interface. I added symlink just to provide user readable name instead of hwmon. Please drop this change, if it does not add any values to existing interface. -Rajkumar