]> git.baikalelectronics.ru Git - kernel.git/commit
bus: mhi: core: Minor style and comment fixes
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 16 Dec 2021 08:12:21 +0000 (13:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 16:17:14 +0000 (17:17 +0100)
commit61cd1a6bdf550c1534e8c3840e05cbf0a9c85f73
treeedb0bb39f585fbbea6dc9d523f6c22464ff816ec
parentb9eee4d712590f843881e98223f4015a12618c1c
bus: mhi: core: Minor style and comment fixes

This patch fixes the below checkpatch warnings in MHI bus:

WARNING: Possible repeated word: 'events'
+ /* Process ctrl events events */

WARNING: Missing a blank line after declarations
+ struct mhi_buf_info info = { };
+ buf = kmalloc(len, GFP_KERNEL);

WARNING: Move const after static - use 'static const struct mhi_pm_transitions'
+static struct mhi_pm_transitions const dev_state_transitions[] = {

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20211216081227.237749-5-manivannan.sadhasivam@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/bus/mhi/core/main.c
drivers/bus/mhi/core/pm.c