[PATCH 2/2] ARM: mx5/mx53_evk: Remove unneeded gpio_set_value call

Julia Lawall julia at diku.dk
Sun Mar 20 13:56:59 EDT 2011


What is the degree of interest in having gpio_request_one be used?  Right 
now, it is very little used.  But there seem to be over 900 places where 
it could be used.

One advantage of gpio_request_one is that it manages error handling.  
However a number of current calls to gpio_request and 
gpio_direction_input/output don't save or test the return value.  Are 
there cases where these operations cannot fail?

julia



More information about the linux-arm-kernel mailing list