This patch fixes the following checkpatch warnings:
WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
Signed-off-by: Stefan Herdler <herdler@nurfuerspam.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
 {
        struct budget *budget = &budget_av->budget;
 
-       if (1 != budget_av->has_saa7113)
+       if (budget_av->has_saa7113 != 1)
                return -ENODEV;
 
        if (input == 1) {
 
        dprintk(2, "dev: %p\n", dev);
 
-       if (1 == budget_av->has_saa7113) {
+       if (budget_av->has_saa7113 == 1) {
                saa7146_setgpio(dev, 0, SAA7146_GPIO_OUTLO);
 
                msleep(200);
 
        ttpci_eeprom_parse_mac(&budget->i2c_adap, budget->dvb_adapter.proposed_mac);
 
        budget->grabbing = saa7146_vmalloc_build_pgtable(dev->pci, budget->buffer_size, &budget->pt);
-       if (NULL == budget->grabbing) {
+       if (budget->grabbing == NULL) {
                ret = -ENOMEM;
                goto err_del_i2c;
        }
 
        int err;
 
        budget = kmalloc(sizeof(struct budget), GFP_KERNEL);
-       if (NULL == budget)
+       if (budget == NULL)
                return -ENOMEM;
 
        dprintk(2, "dev:%p, info:%p, budget:%p\n", dev, info, budget);