Files
linux/drivers
Jean Delvare 18b548ca58 V4L/DVB (5884): zr36067: clean up debug function
Debugging cleanups to the zr36067 driver:

* Use module_param_named() to declare the debug parameter, so we can
  use a single global variable to handle the debug level. This makes
  the driver a bit smaller (by 648 bytes on x86_64), thanks to one
  less level of indirection on every use.

* Change the debug parameter sysfs permissions, so that the debug
  level can be adjusted at runtime, as is done in many other
  media/video drivers.

* The debug level is between 0 and 5, not 0 and 4.

* Move the zr_debug export and dprintk macro definition to a header
  file so that we don't have to define them in each source file.

* Simplify a duplicate test on zr_debug.

Note that zr_debug was subsequently renamed to debug_zr36067 to avoid
possible conflicts with other Zoran device drivers, on a suggestion
by Trent Piepho.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Acked-by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-09 22:02:57 -03:00
..
2007-07-31 15:39:39 -07:00
…
2007-10-09 12:38:26 -07:00
2007-08-22 19:52:46 -07:00
…
…
…
2007-09-09 10:38:37 -04:00
2007-09-09 22:29:14 +02:00
…
…
…
2007-09-17 00:58:40 -04:00
2007-09-11 17:21:51 +02:00
2007-10-05 14:05:48 -04:00
…
2007-07-31 15:39:37 -07:00
2007-09-28 16:21:10 -07:00
2007-09-11 17:21:19 -07:00
…
…
…
2007-09-11 17:21:19 -07:00
…
…
2007-09-19 11:24:18 -07:00
2007-07-26 11:35:17 -07:00
…
2007-07-29 18:58:39 +00:00