NFC: set info->ram_patch to NULL when it is released
authorColin Ian King <colin.king@canonical.com>
Tue, 22 Mar 2016 23:17:00 +0000 (23:17 +0000)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 4 Jul 2016 10:11:54 +0000 (12:11 +0200)
commitf36acc334fb86da3761583dce50faa17a4cbd4de
tree6ace6d0402202a8d5af981bca49c2bb1e6a6fc8b
parent8186f6e382d8719d0a4bc0ef218c4dd7cf55b496
NFC: set info->ram_patch to NULL when it is released

When info->ram_patch is released info->otp_patch is being set
to NULL rather than info->ram_patch. I believe this is a cut-n-paste
bug from almost identical code proceeding it that uses the same
idiom for info->otp_patch.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/fdp/fdp.c