Re: [PATCH v3 05/25] bus: mhi: Make mhi_state_str[] array static inline and move to common.h

From: Hemant Kumar
Date: Mon Feb 14 2022 - 19:31:22 EST




On 2/12/2022 10:20 AM, Manivannan Sadhasivam wrote:
mhi_state_str[] array could be used by MHI endpoint stack also. So let's
make the array as "static inline function" and move it inside the
"common.h" header so that the endpoint stack could also make use of it.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>

Reviewed-by: Hemant Kumar <hemantk@xxxxxxxxxxxxxx>

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project