Commit 062d8acb authored by Miquel Raynal's avatar Miquel Raynal

mtd: rawnand: qcom: Fix alignment with open parenthesis

Fix the following checkpatch warning:
    	"CHECK: Alignment should match open parenthesis"
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Acked-by: default avatarManivannan Sadhasivam <mani@kernel.org>
Reviewed-by: default avatarTudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/linux-mtd/20230716144612.32132-4-miquel.raynal@bootlin.com
parent 428771b6
...@@ -3089,18 +3089,16 @@ static int qcom_nandc_alloc(struct qcom_nand_controller *nandc) ...@@ -3089,18 +3089,16 @@ static int qcom_nandc_alloc(struct qcom_nand_controller *nandc)
*/ */
nandc->buf_size = 532; nandc->buf_size = 532;
nandc->data_buffer = devm_kzalloc(nandc->dev, nandc->buf_size, nandc->data_buffer = devm_kzalloc(nandc->dev, nandc->buf_size, GFP_KERNEL);
GFP_KERNEL);
if (!nandc->data_buffer) if (!nandc->data_buffer)
return -ENOMEM; return -ENOMEM;
nandc->regs = devm_kzalloc(nandc->dev, sizeof(*nandc->regs), nandc->regs = devm_kzalloc(nandc->dev, sizeof(*nandc->regs), GFP_KERNEL);
GFP_KERNEL);
if (!nandc->regs) if (!nandc->regs)
return -ENOMEM; return -ENOMEM;
nandc->reg_read_buf = devm_kcalloc(nandc->dev, nandc->reg_read_buf = devm_kcalloc(nandc->dev, MAX_REG_RD,
MAX_REG_RD, sizeof(*nandc->reg_read_buf), sizeof(*nandc->reg_read_buf),
GFP_KERNEL); GFP_KERNEL);
if (!nandc->reg_read_buf) if (!nandc->reg_read_buf)
return -ENOMEM; return -ENOMEM;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment