~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/staging/cptm1217/clearpad_tm1217.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
462
462
                if (input_dev == NULL) {
463
463
                        dev_err(ts->dev,
464
464
                                "cp_tm1217:Input Device Struct alloc failed\n");
465
 
                        kfree(ts);
466
 
                        return -ENOMEM;
 
465
                        retval = -ENOMEM;
 
466
                        goto fail;
467
467
                }
468
468
                input_info = &ts->cp_input_info[i];
469
469
                snprintf(input_info->name, sizeof(input_info->name),
486
486
                        dev_err(ts->dev,
487
487
                                "Input dev registration failed for %s\n",
488
488
                                        input_dev->name);
 
489
                        input_free_device(input_dev);
489
490
                        goto fail;
490
491
                }
491
492
                input_info->input = input_dev;