platform/x86: dell-laptop: Handle return error form dell_get_intensity.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 9 Mar 2017 05:49:56 +0000 (11:19 +0530)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 28 Apr 2017 18:51:26 +0000 (21:51 +0300)
commit90a864b965e452ee2a15ed7b13f47142aeb4a40b
treeec8286d8fbde2f33c1a16db93e82c8f437b1430f
parent0b8dba15e909990e275631fa57255e74bbc766fc
platform/x86: dell-laptop: Handle return error form dell_get_intensity.

Here, This patch is to handle a return error from dell_get_intensity.
This change is done using Coccinelle.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/dell-laptop.c