diff options
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-eeprom.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-eeprom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-eeprom.c b/drivers/media/video/pvrusb2/pvrusb2-eeprom.c index 94d383ff9889..6cff8e75f426 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-eeprom.c +++ b/drivers/media/video/pvrusb2/pvrusb2-eeprom.c | |||
@@ -58,7 +58,7 @@ static u8 *pvr2_eeprom_fetch(struct pvr2_hdw *hdw) | |||
58 | pvr2_trace(PVR2_TRACE_ERROR_LEGS, | 58 | pvr2_trace(PVR2_TRACE_ERROR_LEGS, |
59 | "Failed to allocate memory" | 59 | "Failed to allocate memory" |
60 | " required to read eeprom"); | 60 | " required to read eeprom"); |
61 | return 0; | 61 | return NULL; |
62 | } | 62 | } |
63 | 63 | ||
64 | trace_eeprom("Value for eeprom addr from controller was 0x%x", | 64 | trace_eeprom("Value for eeprom addr from controller was 0x%x", |
@@ -108,7 +108,7 @@ static u8 *pvr2_eeprom_fetch(struct pvr2_hdw *hdw) | |||
108 | pvr2_trace(PVR2_TRACE_ERROR_LEGS, | 108 | pvr2_trace(PVR2_TRACE_ERROR_LEGS, |
109 | "eeprom fetch set offs err=%d",ret); | 109 | "eeprom fetch set offs err=%d",ret); |
110 | kfree(eeprom); | 110 | kfree(eeprom); |
111 | return 0; | 111 | return NULL; |
112 | } | 112 | } |
113 | } | 113 | } |
114 | return eeprom; | 114 | return eeprom; |