Message ID | 1537419595-29990-1-git-send-email-zhongjiang@huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | media: qcom: remove duplicated include file | expand |
Thank you for spotting that! On 19.09.2018 21:59, zhong jiang wrote: > device.h have duplicated include. hence just remove > redundant include file. I think it will be better to remove the second occurrence because it will keep the alphabetical order of the includes. Best regards, Todor Tomov > > Signed-off-by: zhong jiang <zhongjiang@huawei.com> > --- > drivers/media/platform/qcom/camss/camss.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/platform/qcom/camss/camss.h > index 418996d..0823a71 100644 > --- a/drivers/media/platform/qcom/camss/camss.h > +++ b/drivers/media/platform/qcom/camss/camss.h > @@ -10,7 +10,6 @@ > #ifndef QC_MSM_CAMSS_H > #define QC_MSM_CAMSS_H > > -#include <linux/device.h> > #include <linux/types.h> > #include <media/v4l2-async.h> > #include <media/v4l2-device.h> >
On 2018/9/20 13:55, Todor Tomov wrote: > Thank you for spotting that! > > On 19.09.2018 21:59, zhong jiang wrote: >> device.h have duplicated include. hence just remove >> redundant include file. > I think it will be better to remove the second occurrence because > it will keep the alphabetical order of the includes. Yep, I forget the point. Will change in v2. Thanks, zhong jiang > Best regards, > Todor Tomov > >> Signed-off-by: zhong jiang <zhongjiang@huawei.com> >> --- >> drivers/media/platform/qcom/camss/camss.h | 1 - >> 1 file changed, 1 deletion(-) >> >> diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/platform/qcom/camss/camss.h >> index 418996d..0823a71 100644 >> --- a/drivers/media/platform/qcom/camss/camss.h >> +++ b/drivers/media/platform/qcom/camss/camss.h >> @@ -10,7 +10,6 @@ >> #ifndef QC_MSM_CAMSS_H >> #define QC_MSM_CAMSS_H >> >> -#include <linux/device.h> >> #include <linux/types.h> >> #include <media/v4l2-async.h> >> #include <media/v4l2-device.h> >> > >
diff --git a/drivers/media/platform/qcom/camss/camss.h b/drivers/media/platform/qcom/camss/camss.h index 418996d..0823a71 100644 --- a/drivers/media/platform/qcom/camss/camss.h +++ b/drivers/media/platform/qcom/camss/camss.h @@ -10,7 +10,6 @@ #ifndef QC_MSM_CAMSS_H #define QC_MSM_CAMSS_H -#include <linux/device.h> #include <linux/types.h> #include <media/v4l2-async.h> #include <media/v4l2-device.h>
device.h have duplicated include. hence just remove redundant include file. Signed-off-by: zhong jiang <zhongjiang@huawei.com> --- drivers/media/platform/qcom/camss/camss.h | 1 - 1 file changed, 1 deletion(-)