All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] vt1211 driver (was hwmon/pc87360 as a platform
@ 2006-04-17 16:04 Jim Cromie
  2006-04-17 17:46 ` Juerg Haefliger
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Cromie @ 2006-04-17 16:04 UTC (permalink / raw)
  To: lm-sensors

Juerg Haefliger wrote:
>> The SHOW_SET_*_*  constants are just a bit off-putting at first read,
>> but I know what you mean, and I dont have a better idea.
>> maybe SHOW_SETTNG_*_* ?
>> or SHOW_CURR_*_*,   thats confuse-able with the current reading
>>     
>
> Well SHOW_SET_xxx_yyy is supposed to hint that the constant is used in
> both the show_xxx and set_xxx callbacks. It's the best I could come up
> with although I have to admit I didn't spend too much time thinking
> about this....
>
>   
>> you can improve your printks :
>>
>> s/(printk\(KERN_DEBUG)/dev_dbg\(&pdev->dev/;
>> s/(printk\(KERN_ERR)/dev_err\(&pdev->dev/
>> s/(printk\(KERN_INFO)/dev_info\(&pdev->dev/
>>
>> at least where pdev has already been initd
>>     
>
> Hmm... I thought I used printks only in places where pdev is not initialized.
>
>   
I didnt look that carefully.
>> Ill try to read thru the enire patch this weekend sometime.
>>     
>
> I certainly appreciate the review :-)
>
>   
good thing that *this* is so flexible ;-)

> ...juerg
>
>   

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hwmon-vt1211-driver-review
Url: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060417/2985cd2c/hwmon-vt1211-driver-review.pl

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-17 17:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-17 16:04 [lm-sensors] vt1211 driver (was hwmon/pc87360 as a platform Jim Cromie
2006-04-17 17:46 ` Juerg Haefliger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.