From: Guenter Roeck Subject: Re: [PATCH 1/2] drm/radeon/dpm: Convert to use devm_hwmon_register_with_groups Date: Mon, 25 Nov 2013 10:07:41 -0800 Message-ID: <20131125180741.GA20159@roeck-us.net> References: <1385185921-17220-1-git-send-email-linux@roeck-us.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1385185921-17220-1-git-send-email-linux@roeck-us.net> Sender: linux-kernel-owner@vger.kernel.org To: David Airlie Cc: lm-sensors@lm-sensors.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org On Fri, Nov 22, 2013 at 09:52:00PM -0800, Guenter Roeck wrote: > Simplify the code and fix race condition seen because > attribute files were created after hwmon device registration. > > Signed-off-by: Guenter Roeck > --- > Compile tested only; unfortunately I don't have the the necessary hardware. > Update: Tested working on actual hardware. Guenter