while ((pixel_end > pixel) &&
               (cmd_buffer_end - MIN_RLX_CMD_BYTES > cmd)) {
-               uint8_t *raw_pixels_count_byte = 0;
-               uint8_t *cmd_pixels_count_byte = 0;
-               const uint16_t *raw_pixel_start = 0;
-               const uint16_t *cmd_pixel_start, *cmd_pixel_end = 0;
+               uint8_t *raw_pixels_count_byte = NULL;
+               uint8_t *cmd_pixels_count_byte = NULL;
+               const uint16_t *raw_pixel_start = NULL;
+               const uint16_t *cmd_pixel_start, *cmd_pixel_end = NULL;
 
                prefetchw((void *) cmd); /* pull in one cache line at least */
 
                        const struct usb_device_id *id)
 {
        struct usb_device *usbdev;
-       struct dlfb_data *dev = 0;
+       struct dlfb_data *dev = NULL;
        int retval = -ENOMEM;
 
        /* usb initialization */