lkml.org 
[lkml]   [2015]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] regulator: max8973: get rid of extra variable for gpio validity
On Wed, Apr 08, 2015 at 07:08:00PM +0530, Laxman Dewangan wrote:
> 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().

Are you sure that platform data using 0 as default/unset is still
handled correctly after this?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-04-08 17:21    [W:0.052 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site