Merge branch 'master' into upstream
authorJiri Kosina <jkosina@suse.cz>
Fri, 10 Dec 2010 14:19:18 +0000 (15:19 +0100)
committerJiri Kosina <jkosina@suse.cz>
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
index bbab6cff3518e5e7eb657be32f2c8afe8ebeef6d,5a1b52e0eb85f1ecfd7035f317c3b6577bf5d7cb..72b1dd8d16ce9d9a0c97802982e5e15eb8bfd282
@@@ -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