From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756209AbcKVRo6 (ORCPT ); Tue, 22 Nov 2016 12:44:58 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:60381 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755568AbcKVRo4 (ORCPT ); Tue, 22 Nov 2016 12:44:56 -0500 Message-Id: <20161122173622.771252945@linutronix.de> User-Agent: quilt/0.63-1 Date: Tue, 22 Nov 2016 17:42:01 -0000 From: Thomas Gleixner To: LKML Cc: Fenghua Yu , Jean Delvare , Guenter Roeck , linux-hwmon@vger.kernel.org, Sebastian Siewior , Peter Zijlstra , x86@kernel.org Subject: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org After the first attempt to convert the coretemp driver to the hotplug state machine failed, we had a deeper look and went a bit farther. The driver has quite some interesting concepts vs. the package, core and sysfs file management and a bug in the package temperature sysfs interface vs. cpu hotplug. The following series fixes that bug and simplifies the package/core management and at the end converts it to the hotplug state machine. Along with the source size the binary size shrinks as well: text data bss dec hex 4068 360 20 4448 1160 Before 3801 180 36 4017 fb1 After Thanks, tglx ----- coretemp.c | 321 +++++++++++++++++++++---------------------------------------- 1 file changed, 113 insertions(+), 208 deletions(-)