mirror of https://gitee.com/openkylin/linux.git
spi: lm70llp: correct alignment
checkpatch complains about the allignment with open parenthesis. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
25fb1a46e0
commit
44dc0fddd7
|
@ -229,8 +229,8 @@ static void spi_lm70llp_attach(struct parport *p)
|
|||
*/
|
||||
pp->port = p;
|
||||
pd = parport_register_device(p, DRVNAME,
|
||||
NULL, NULL, NULL,
|
||||
PARPORT_FLAG_EXCL, pp);
|
||||
NULL, NULL, NULL,
|
||||
PARPORT_FLAG_EXCL, pp);
|
||||
if (!pd) {
|
||||
status = -ENOMEM;
|
||||
goto out_free_master;
|
||||
|
@ -273,7 +273,7 @@ static void spi_lm70llp_attach(struct parport *p)
|
|||
pp->spidev_lm70 = spi_new_device(pp->bitbang.master, &pp->info);
|
||||
if (pp->spidev_lm70)
|
||||
dev_dbg(&pp->spidev_lm70->dev, "spidev_lm70 at %s\n",
|
||||
dev_name(&pp->spidev_lm70->dev));
|
||||
dev_name(&pp->spidev_lm70->dev));
|
||||
else {
|
||||
printk(KERN_WARNING "%s: spi_new_device failed\n", DRVNAME);
|
||||
status = -ENODEV;
|
||||
|
|
Loading…
Reference in New Issue