Re: [PATCH (rev 2)] cxacru: Cleanup sysfs attribute code

From: Duncan Sands
Date: Wed Apr 25 2007 - 15:33:52 EST


On Wednesday 25 April 2007 20:41:20 Simon Arlott wrote:
> This changes the format of unknown status values to be less verbose and
> uses an array instead of several different snprintf calls. Since only
> enum values are assigned to it, poll_state is changed from int to enum.
> Use abs() for dB values instead of two almost identical return lines.
>
> Signed-off-by: Simon Arlott <simon@xxxxxxxxxxx>
> Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>
> Cc: Duncan Sands <duncan.sands@xxxxxxxxxxxxxx>

Acked-by: Duncan Sands <baldrick@xxxxxxx>

> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/