diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-04-19 18:51:29 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-05-20 13:32:15 +0300 |
commit | eaa399eb542cdfc5748a32634ba3d5cffb5517cd (patch) | |
tree | 1be874fddeb22210026ad8026703772b2bb45ee2 /drivers/staging/media/atomisp/include | |
parent | bdfe0beb95eebc864f341fd0c5e903672b90b1a2 (diff) | |
download | linux-eaa399eb542cdfc5748a32634ba3d5cffb5517cd.tar.xz |
media: atomisp: do lots of other coding style cleanups
Use some auto-reformat tools to make the atomisp style
a little better. There are still lots of weird things there,
but this will hopefully reduce the number of pure coding
style patches submitted upstream.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/include')
4 files changed, 14 insertions, 13 deletions
diff --git a/drivers/staging/media/atomisp/include/linux/atomisp.h b/drivers/staging/media/atomisp/include/linux/atomisp.h index e78e8a5cfb86..df0ee5ddedd9 100644 --- a/drivers/staging/media/atomisp/include/linux/atomisp.h +++ b/drivers/staging/media/atomisp/include/linux/atomisp.h @@ -407,7 +407,8 @@ struct atomisp_zoom_point { * This specifies the region */ struct atomisp_zoom_region { - struct atomisp_zoom_point origin; /* Starting point coordinates for the region */ + struct atomisp_zoom_point + origin; /* Starting point coordinates for the region */ struct atomisp_resolution resolution; /* Region resolution */ }; diff --git a/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h b/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h index e701eac26e3c..09e260ea06ca 100644 --- a/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h +++ b/drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h @@ -21,15 +21,15 @@ int atomisp_register_i2c_module(struct v4l2_subdev *subdev, struct camera_sensor_platform_data *plat_data, enum intel_v4l2_subdev_type type); struct v4l2_subdev *atomisp_gmin_find_subdev(struct i2c_adapter *adapter, - struct i2c_board_info *board_info); + struct i2c_board_info *board_info); int atomisp_gmin_remove_subdev(struct v4l2_subdev *sd); int gmin_get_var_int(struct device *dev, const char *var, int def); int camera_sensor_csi(struct v4l2_subdev *sd, u32 port, u32 lanes, u32 format, u32 bayer_order, int flag); struct camera_sensor_platform_data *gmin_camera_platform_data( - struct v4l2_subdev *subdev, - enum atomisp_input_format csi_format, - enum atomisp_bayer_order csi_bayer); + struct v4l2_subdev *subdev, + enum atomisp_input_format csi_format, + enum atomisp_bayer_order csi_bayer); int atomisp_gmin_register_vcm_control(struct camera_vcm_control *); diff --git a/drivers/staging/media/atomisp/include/linux/atomisp_platform.h b/drivers/staging/media/atomisp/include/linux/atomisp_platform.h index f363a7e2968d..9cf46325a696 100644 --- a/drivers/staging/media/atomisp/include/linux/atomisp_platform.h +++ b/drivers/staging/media/atomisp/include/linux/atomisp_platform.h @@ -187,13 +187,13 @@ struct camera_vcm_control; struct camera_vcm_ops { int (*power_up)(struct v4l2_subdev *sd, struct camera_vcm_control *vcm); int (*power_down)(struct v4l2_subdev *sd, - struct camera_vcm_control *vcm); + struct camera_vcm_control *vcm); int (*queryctrl)(struct v4l2_subdev *sd, struct v4l2_queryctrl *qc, - struct camera_vcm_control *vcm); + struct camera_vcm_control *vcm); int (*g_ctrl)(struct v4l2_subdev *sd, struct v4l2_control *ctrl, - struct camera_vcm_control *vcm); + struct camera_vcm_control *vcm); int (*s_ctrl)(struct v4l2_subdev *sd, struct v4l2_control *ctrl, - struct camera_vcm_control *vcm); + struct camera_vcm_control *vcm); }; struct camera_vcm_control { @@ -215,8 +215,8 @@ struct camera_sensor_platform_data { int (*v1p8_ctrl)(struct v4l2_subdev *subdev, int on); int (*v2p8_ctrl)(struct v4l2_subdev *subdev, int on); int (*v1p2_ctrl)(struct v4l2_subdev *subdev, int on); - struct camera_vcm_control * (*get_vcm_ctrl)(struct v4l2_subdev *subdev, - char *module_id); + struct camera_vcm_control *(*get_vcm_ctrl)(struct v4l2_subdev *subdev, + char *module_id); }; struct camera_mipi_info { diff --git a/drivers/staging/media/atomisp/include/linux/libmsrlisthelper.h b/drivers/staging/media/atomisp/include/linux/libmsrlisthelper.h index 431b059e65f4..1b5111ad9415 100644 --- a/drivers/staging/media/atomisp/include/linux/libmsrlisthelper.h +++ b/drivers/staging/media/atomisp/include/linux/libmsrlisthelper.h @@ -19,9 +19,9 @@ struct i2c_client; struct firmware; int load_msr_list(struct i2c_client *client, char *path, - const struct firmware **fw); + const struct firmware **fw); int apply_msr_data(struct i2c_client *client, const struct firmware *fw); void release_msr_list(struct i2c_client *client, - const struct firmware *fw); + const struct firmware *fw); #endif /* ifndef __LIBMSRLISTHELPER_H__ */ |