diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2020-04-27 14:56:08 -0500 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2020-08-27 14:14:46 +0200 |
commit | 1a64026eda1642c81425e48550fd4bd3f73d0ab5 (patch) | |
tree | 712b153aa1ed73217da71a1fcbe84e341826e43b /drivers/mtd/lpddr/lpddr2_nvm.c | |
parent | 518693abe6e3f57606ec18892e9135abbc04b361 (diff) |
mtd: lpddr: Move function print_drs_error to lpddr_cmds.c
Function print_drs_error is only used in drivers/mtd/lpddr/lpddr_cmds.c
so, better to move it there.
Also, notice that there's no need for inline as the function is used
once. Lastly, fix the following checkpatch warning:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
+static void print_drs_error(unsigned dsr)
Suggested-by: Joe Perches <joe@perches.com>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/e0063cbd65f3b47be1db34efc494ea3047634d88.1588016644.git.gustavo@embeddedor.com
Diffstat (limited to 'drivers/mtd/lpddr/lpddr2_nvm.c')
0 files changed, 0 insertions, 0 deletions