Commit b2289d52 authored by Varsha Rao's avatar Varsha Rao Committed by Greg Kroah-Hartman

staging: media: atomisp: Use unsigned int instead of unsigned.

Usage of unsigned int is preferred over unsigned and this patch fixes the
checkpatch issue.
Signed-off-by: default avatarVarsha Rao <rvarsha016@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0ec73c0a
...@@ -30,7 +30,7 @@ void ...@@ -30,7 +30,7 @@ void
ia_css_macc1_5_encode( ia_css_macc1_5_encode(
struct sh_css_isp_macc1_5_params *to, struct sh_css_isp_macc1_5_params *to,
const struct ia_css_macc1_5_config *from, const struct ia_css_macc1_5_config *from,
unsigned size) unsigned int size)
{ {
(void)size; (void)size;
to->exp = from->exp; to->exp = from->exp;
...@@ -40,7 +40,7 @@ void ...@@ -40,7 +40,7 @@ void
ia_css_macc1_5_vmem_encode( ia_css_macc1_5_vmem_encode(
struct sh_css_isp_macc1_5_vmem_params *params, struct sh_css_isp_macc1_5_vmem_params *params,
const struct ia_css_macc1_5_table *from, const struct ia_css_macc1_5_table *from,
unsigned size) unsigned int size)
{ {
unsigned int i, j, k, idx; unsigned int i, j, k, idx;
unsigned int idx_map[] = { unsigned int idx_map[] = {
...@@ -65,7 +65,7 @@ ia_css_macc1_5_vmem_encode( ...@@ -65,7 +65,7 @@ ia_css_macc1_5_vmem_encode(
void void
ia_css_macc1_5_debug_dtrace( ia_css_macc1_5_debug_dtrace(
const struct ia_css_macc1_5_config *config, const struct ia_css_macc1_5_config *config,
unsigned level) unsigned int level)
{ {
ia_css_debug_dtrace(level, ia_css_debug_dtrace(level,
"config.exp=%d\n", "config.exp=%d\n",
......
...@@ -24,18 +24,18 @@ void ...@@ -24,18 +24,18 @@ void
ia_css_macc1_5_encode( ia_css_macc1_5_encode(
struct sh_css_isp_macc1_5_params *to, struct sh_css_isp_macc1_5_params *to,
const struct ia_css_macc1_5_config *from, const struct ia_css_macc1_5_config *from,
unsigned size); unsigned int size);
void void
ia_css_macc1_5_vmem_encode( ia_css_macc1_5_vmem_encode(
struct sh_css_isp_macc1_5_vmem_params *params, struct sh_css_isp_macc1_5_vmem_params *params,
const struct ia_css_macc1_5_table *from, const struct ia_css_macc1_5_table *from,
unsigned size); unsigned int size);
#ifndef IA_CSS_NO_DEBUG #ifndef IA_CSS_NO_DEBUG
void void
ia_css_macc1_5_debug_dtrace( ia_css_macc1_5_debug_dtrace(
const struct ia_css_macc1_5_config *config, const struct ia_css_macc1_5_config *config,
unsigned level); unsigned int level);
#endif #endif
#endif /* __IA_CSS_MACC1_5_HOST_H */ #endif /* __IA_CSS_MACC1_5_HOST_H */
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