Re: [PATCH] Fix spaces ERROR in atomisp_gmin_platform.c

From: Dan Carpenter
Date: Sun May 07 2017 - 17:56:39 EST


On Sat, May 06, 2017 at 03:56:23PM +0300, Gideon Sheril wrote:
> int atomisp_register_i2c_module(struct v4l2_subdev *subdev,
> - struct camera_sensor_platform_data *plat_data,
> - enum intel_v4l2_subdev_type type)
> + struct camera_sensor_platform_data *plat_data,
> + enum intel_v4l2_subdev_type type)

It was aligned properly before, it just used spaces instead of tabs.

> + dev_info(&client->dev,
> + "camera pdata: port: %d lanes: %d order: %8.8x\n",
> + port, lanes, bayer_order);

This introduces a checkpatch.pl warning. Do it like this:

[tab][tab][tab][space]"camera pdata: port: %d lanes: %d order: %8.8x\n",

regards,
dan carpenter