Commit 59ccb817 authored by I Viswanath's avatar I Viswanath Committed by Wolfram Sang
Browse files

i2c: mux: Simplify boolean assignment in i2c_mux_alloc



Refactor boolean field assignments of the form `if (a) b = true` to
`b = !!(a)` in i2c_mux_alloc.

Signed-off-by: default avatarI Viswanath <viswanathiyyappan@gmail.com>
Signed-off-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
parent 2b7a2003
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment