On 4/12/22 19:33, Keoseong Park wrote:
Hi Bart,Convert "if (expr) return true; else return false;" into "return expr;" if either 'expr' is a boolean expression or the return type of the function is 'bool'.How about adding ufshcd_is_pwr_mode_restore_needed()?
Hi Keoseong,I'd like to keep that function as-is because it has three return statements instead of two.
Thanks, Bart.