mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
staging: media: atomisp: replace uint32_t with u32
Replace usage of uint32_t with u32 to comply with kernel coding style guidelines. Reported by checkpatch.pl. CHECK: Prefer kernel type 'u32' over 'uint32_t' Signed-off-by: Abinash Singh <abinashsinghlalotra@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
parent
628f763aee
commit
ddc87e50b9
|
|
@ -180,8 +180,8 @@ static int isp_subdev_enum_mbus_code(struct v4l2_subdev *sd,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int isp_subdev_validate_rect(struct v4l2_subdev *sd, uint32_t pad,
|
||||
uint32_t target)
|
||||
static int isp_subdev_validate_rect(struct v4l2_subdev *sd, u32 pad,
|
||||
u32 target)
|
||||
{
|
||||
switch (pad) {
|
||||
case ATOMISP_SUBDEV_PAD_SINK:
|
||||
|
|
@ -203,8 +203,8 @@ static int isp_subdev_validate_rect(struct v4l2_subdev *sd, uint32_t pad,
|
|||
|
||||
struct v4l2_rect *atomisp_subdev_get_rect(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_state *sd_state,
|
||||
u32 which, uint32_t pad,
|
||||
uint32_t target)
|
||||
u32 which, u32 pad,
|
||||
u32 target)
|
||||
{
|
||||
struct atomisp_sub_device *isp_sd = v4l2_get_subdevdata(sd);
|
||||
|
||||
|
|
@ -229,8 +229,8 @@ struct v4l2_rect *atomisp_subdev_get_rect(struct v4l2_subdev *sd,
|
|||
|
||||
struct v4l2_mbus_framefmt
|
||||
*atomisp_subdev_get_ffmt(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_state *sd_state, uint32_t which,
|
||||
uint32_t pad)
|
||||
struct v4l2_subdev_state *sd_state, u32 which,
|
||||
u32 pad)
|
||||
{
|
||||
struct atomisp_sub_device *isp_sd = v4l2_get_subdevdata(sd);
|
||||
|
||||
|
|
@ -242,7 +242,7 @@ struct v4l2_mbus_framefmt
|
|||
|
||||
static void isp_get_fmt_rect(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_state *sd_state,
|
||||
uint32_t which,
|
||||
u32 which,
|
||||
struct v4l2_mbus_framefmt **ffmt,
|
||||
struct v4l2_rect *crop[ATOMISP_SUBDEV_PADS_NUM],
|
||||
struct v4l2_rect *comp[ATOMISP_SUBDEV_PADS_NUM])
|
||||
|
|
@ -291,7 +291,7 @@ static const char *atomisp_pad_str(unsigned int pad)
|
|||
|
||||
int atomisp_subdev_set_selection(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_state *sd_state,
|
||||
u32 which, uint32_t pad, uint32_t target,
|
||||
u32 which, u32 pad, u32 target,
|
||||
u32 flags, struct v4l2_rect *r)
|
||||
{
|
||||
struct atomisp_sub_device *isp_sd = v4l2_get_subdevdata(sd);
|
||||
|
|
@ -467,7 +467,7 @@ static int isp_subdev_set_selection(struct v4l2_subdev *sd,
|
|||
|
||||
void atomisp_subdev_set_ffmt(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_state *sd_state,
|
||||
uint32_t which,
|
||||
u32 which,
|
||||
u32 pad, struct v4l2_mbus_framefmt *ffmt)
|
||||
{
|
||||
struct atomisp_sub_device *isp_sd = v4l2_get_subdevdata(sd);
|
||||
|
|
|
|||
|
|
@ -315,20 +315,20 @@ bool atomisp_subdev_format_conversion(struct atomisp_sub_device *asd);
|
|||
/* Get pointer to appropriate format */
|
||||
struct v4l2_mbus_framefmt
|
||||
*atomisp_subdev_get_ffmt(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_state *sd_state, uint32_t which,
|
||||
uint32_t pad);
|
||||
struct v4l2_subdev_state *sd_state, u32 which,
|
||||
u32 pad);
|
||||
struct v4l2_rect *atomisp_subdev_get_rect(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_state *sd_state,
|
||||
u32 which, uint32_t pad,
|
||||
uint32_t target);
|
||||
u32 which, u32 pad,
|
||||
u32 target);
|
||||
int atomisp_subdev_set_selection(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_state *sd_state,
|
||||
u32 which, uint32_t pad, uint32_t target,
|
||||
u32 which, u32 pad, u32 target,
|
||||
u32 flags, struct v4l2_rect *r);
|
||||
/* Actually set the format */
|
||||
void atomisp_subdev_set_ffmt(struct v4l2_subdev *sd,
|
||||
struct v4l2_subdev_state *sd_state,
|
||||
uint32_t which,
|
||||
u32 which,
|
||||
u32 pad, struct v4l2_mbus_framefmt *ffmt);
|
||||
|
||||
void atomisp_subdev_cleanup_pending_events(struct atomisp_sub_device *asd);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user