spi: spi-mem: Fix code indent should use tabs where possible
Fix checkpatch errors: ERROR: code indent should use tabs where possible #624: FILE: spi-mem.c:624: ERROR: code indent should use tabs where possible #626: FILE: spi-mem.c:626: ERROR: code indent should use tabs where possible #627: FILE: spi-mem.c:627: Signed-off-by: Jay Fang <f.fangjian@huawei.com> Link: https://lore.kernel.org/r/1616566602-13894-10-git-send-email-f.fangjian@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
45793de7bf
commit
6ca6ad908e
@ -621,10 +621,10 @@ EXPORT_SYMBOL_GPL(devm_spi_mem_dirmap_create);
|
|||||||
|
|
||||||
static int devm_spi_mem_dirmap_match(struct device *dev, void *res, void *data)
|
static int devm_spi_mem_dirmap_match(struct device *dev, void *res, void *data)
|
||||||
{
|
{
|
||||||
struct spi_mem_dirmap_desc **ptr = res;
|
struct spi_mem_dirmap_desc **ptr = res;
|
||||||
|
|
||||||
if (WARN_ON(!ptr || !*ptr))
|
if (WARN_ON(!ptr || !*ptr))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return *ptr == data;
|
return *ptr == data;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user