diff options
Diffstat (limited to 'drivers/media/video/msp3400.h')
-rw-r--r-- | drivers/media/video/msp3400.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/media/video/msp3400.h b/drivers/media/video/msp3400.h index 33d64ac75d37..a88a22e37e64 100644 --- a/drivers/media/video/msp3400.h +++ b/drivers/media/video/msp3400.h | |||
@@ -6,40 +6,6 @@ | |||
6 | 6 | ||
7 | /* ---------------------------------------------------------------------- */ | 7 | /* ---------------------------------------------------------------------- */ |
8 | 8 | ||
9 | #define msp_err(fmt, arg...) \ | ||
10 | printk(KERN_ERR "%s %d-%04x: " fmt, client->driver->driver.name, \ | ||
11 | i2c_adapter_id(client->adapter), client->addr , ## arg) | ||
12 | #define msp_warn(fmt, arg...) \ | ||
13 | printk(KERN_WARNING "%s %d-%04x: " fmt, client->driver->driver.name, \ | ||
14 | i2c_adapter_id(client->adapter), client->addr , ## arg) | ||
15 | #define msp_info(fmt, arg...) \ | ||
16 | printk(KERN_INFO "%s %d-%04x: " fmt, client->driver->driver.name, \ | ||
17 | i2c_adapter_id(client->adapter), client->addr , ## arg) | ||
18 | |||
19 | /* level 1 debug. */ | ||
20 | #define msp_dbg1(fmt, arg...) \ | ||
21 | do { \ | ||
22 | if (debug) \ | ||
23 | printk(KERN_INFO "%s debug %d-%04x: " fmt, client->driver->driver.name, \ | ||
24 | i2c_adapter_id(client->adapter), client->addr , ## arg); \ | ||
25 | } while (0) | ||
26 | |||
27 | /* level 2 debug. */ | ||
28 | #define msp_dbg2(fmt, arg...) \ | ||
29 | do { \ | ||
30 | if (debug >= 2) \ | ||
31 | printk(KERN_INFO "%s debug %d-%04x: " fmt, client->driver->name, \ | ||
32 | i2c_adapter_id(client->adapter), client->addr , ## arg); \ | ||
33 | } while (0) | ||
34 | |||
35 | /* level 3 debug. Use with care. */ | ||
36 | #define msp_dbg3(fmt, arg...) \ | ||
37 | do { \ | ||
38 | if (debug >= 16) \ | ||
39 | printk(KERN_INFO "%s debug %d-%04x: " fmt, client->driver->name, \ | ||
40 | i2c_adapter_id(client->adapter), client->addr , ## arg); \ | ||
41 | } while (0) | ||
42 | |||
43 | struct msp_matrix { | 9 | struct msp_matrix { |
44 | int input; | 10 | int input; |
45 | int output; | 11 | int output; |