From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bh-25.webhostbox.net (bh-25.webhostbox.net [208.91.199.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id F00F71A2A88 for ; Sat, 21 Mar 2015 02:27:34 +1100 (AEDT) Received: from mailnull by bh-25.webhostbox.net with sa-checked (Exim 4.82) (envelope-from ) id 1YYypf-002kd1-3L for linuxppc-dev@lists.ozlabs.org; Fri, 20 Mar 2015 15:27:31 +0000 Date: Fri, 20 Mar 2015 08:26:11 -0700 From: Guenter Roeck To: =?iso-8859-1?Q?C=E9dric?= Le Goater Subject: Re: [PATCH v2 0/5] hwmon: (ibmpowernv) remove dependency on OPAL index Message-ID: <20150320152611.GA10749@roeck-us.net> References: <1423117857-32759-1-git-send-email-clg@fr.ibm.com> <1426787085-9004-1-git-send-email-clg@fr.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: <1426787085-9004-1-git-send-email-clg@fr.ibm.com> Cc: Stewart Smith , lm-sensors@lm-sensors.org, Neelesh Gupta , skiboot@lists.ozlabs.org, linuxppc-dev@lists.ozlabs.org, Jean Delvare List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, Mar 19, 2015 at 06:44:40PM +0100, Cédric Le Goater wrote: > Hello ! > > The current implementation of the driver uses an index for the hwmon > attribute which is extracted from the device node name. This index > is calculated by the OPAL firmware and its usage creates a dependency > with the driver which makes changes a little more complex in OPAL. > > This patchset changes the ibmpowernv code to use its own index. It > starts with a few cleanups, mostly code shuffling around the creation > of the hwmon sysfs attributes and completes by removing the dependency. > Series applied to hwmon-next (with patch #4 fixed up). Thanks, Guenter