Merge branch 'master' into upstream
Jiri Kosina [Fri, 10 Dec 2010 14:19:18 +0000 (15:19 +0100)]
1  2 
drivers/hid/hid-core.c
drivers/hid/hid-egalax.c
drivers/hid/hid-ids.h
drivers/hid/hid-input.c
drivers/hid/hid-tmff.c
drivers/hid/hidraw.c
drivers/hid/usbhid/hiddev.c

Simple merge
@@@ -221,9 -221,9 +221,9 @@@ static int egalax_probe(struct hid_devi
        struct egalax_data *td;
        struct hid_report *report;
  
-       td = kmalloc(sizeof(struct egalax_data), GFP_KERNEL);
+       td = kzalloc(sizeof(struct egalax_data), GFP_KERNEL);
        if (!td) {
 -              dev_err(&hdev->dev, "cannot allocate eGalax data\n");
 +              hid_err(hdev, "cannot allocate eGalax data\n");
                return -ENOMEM;
        }
        hid_set_drvdata(hdev, td);
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge