From mboxrd@z Thu Jan 1 00:00:00 1970 From: jim.cromie@gmail.com (Jim Cromie) Date: Thu, 19 Jan 2006 23:32:58 +0000 Subject: [lm-sensors] [patch 1/X] pc87360: use SENSOR_ATTR_2 instead of Message-Id: <43D021AA.1010308@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org Patch replaces all uses of SENSOR_ATTR with SENSOR_ATTR_2 in hwmon/pc87360.c This yields a tiny (0.5%) shrink in the object size, (so its justifiable by itself), but more importantly, it sets us up to consolidate many of the show|set_*_* callbacks into a much smaller number of them. It depends upon hwmon-sensor-attr-array-2.patch text data bss dec hex filename 12114 3144 16 15274 3baa a2-pc-0/drivers/hwmon/pc87360.ko <--- 16-rc1-mm1 + deps 12046 3144 16 15206 3b66 a2-pc-1/drivers/hwmon/pc87360.ko