From fa5f509fb5a9d189de9fe59d41be25f6b350b7cb Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Wed, 6 May 2015 18:20:10 +0530 Subject: [PATCH] regulator: max8973: get rid of extra variable for gpio validity To find that dvs-gpio is valid or not, gpio API gpio_is_valid() can be directly used instead of intermediate variable. Removing the extra variable and using the gpio_is_valid(). Signed-off-by: Laxman Dewangan Signed-off-by: Mark Brown --- Reading git-format-patch failed