[lm-sensors] [PATCH 1/2] thermal: add hwmon sys I/F for thermal device

Henrique de Moraes Holschuh hmh at hmh.eng.br
Sat Mar 15 05:25:06 CET 2008


On Fri, 14 Mar 2008, Thomas Renninger wrote:
> Ahh, I just checked that the module_init function calls the module_exit
> function...
> But the module_exit function probably because of this is not declared
> __exit.
> 
> This looks a bit uncommon. I don't know whether it should be avoided,
> but I cannot see why it should hurt.

Well, I didn't see a reason to duplicate code just to save a few hundred
bytes (if that much!) of text for those who don't use a modular
thinkpad-acpi...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



More information about the lm-sensors mailing list