drivers: w1: w1: fixed whitespace errors around parenthesis
Subsystems (2)
PATCH 1/1 drivers: w1: w1: fixed whitespace errors around parenthesis
Removed whitespace between open/close parenthesis and internal contents.
Signed-off-by Ben Werbowyj <[email protected]>
--- drivers/w1/w1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/w1/w1.c +3 -3
@@ -963,7 +963,7 @@ void w1_search(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb desc_bit =64 ; -while ( !last_device && (slave_count++ < dev->max_slave_count) ) { +while (!last_device && (slave_count++ < dev->max_slave_count)) { last_rn = rn; rn =0 ;
@@ -1008,7 +1008,7 @@ void w1_search(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb triplet_ret =w1_triplet (dev, search_bit);/* quit if no device responded */ -if ( (triplet_ret &0x03 ) =0x03 ) +if ((triplet_ret &0x03 ) =0x03 )break ;/* If both directions were valid, and we took the 0 path... */
@@ -1027,7 +1027,7 @@ void w1_search(struct w1_master *dev, u8 search_type, w1_slave_found_callback cb }mutex_unlock (&dev->bus_mutex); -if ( (triplet_ret &0x03 ) !=0x03 ) { +if ((triplet_ret &0x03 ) !=0x03 ) {if ((desc_bit = last_zero) || (last_zero <0 )) { last_device =1 ; dev->search_id =0 ;
Signature · 1 line
2.1.4
22.07.2016, 04:09, "Ben Werbowyj" <[email protected]>:
Quoted 4 lines
Removed whitespace between open/close parenthesis and internal contents.
Signed-off-by Ben Werbowyj <[email protected]>
Looks good to me
Acked-by Evgeniy Polyakov <[email protected]>