Commit dc3bdddb authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

[media] v4l: vsp1: Remove unused module read functions

Several module read functions are not used, remove them.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent f6acfcdc
...@@ -28,11 +28,6 @@ ...@@ -28,11 +28,6 @@
* Device Access * Device Access
*/ */
static inline u32 vsp1_bru_read(struct vsp1_bru *bru, u32 reg)
{
return vsp1_read(bru->entity.vsp1, reg);
}
static inline void vsp1_bru_write(struct vsp1_bru *bru, u32 reg, u32 data) static inline void vsp1_bru_write(struct vsp1_bru *bru, u32 reg, u32 data)
{ {
vsp1_write(bru->entity.vsp1, reg, data); vsp1_write(bru->entity.vsp1, reg, data);
......
...@@ -26,11 +26,6 @@ ...@@ -26,11 +26,6 @@
* Device Access * Device Access
*/ */
static inline u32 vsp1_lif_read(struct vsp1_lif *lif, u32 reg)
{
return vsp1_read(lif->entity.vsp1, reg);
}
static inline void vsp1_lif_write(struct vsp1_lif *lif, u32 reg, u32 data) static inline void vsp1_lif_write(struct vsp1_lif *lif, u32 reg, u32 data)
{ {
vsp1_write(lif->entity.vsp1, reg, data); vsp1_write(lif->entity.vsp1, reg, data);
......
...@@ -27,11 +27,6 @@ ...@@ -27,11 +27,6 @@
* Device Access * Device Access
*/ */
static inline u32 vsp1_lut_read(struct vsp1_lut *lut, u32 reg)
{
return vsp1_read(lut->entity.vsp1, reg);
}
static inline void vsp1_lut_write(struct vsp1_lut *lut, u32 reg, u32 data) static inline void vsp1_lut_write(struct vsp1_lut *lut, u32 reg, u32 data)
{ {
vsp1_write(lut->entity.vsp1, reg, data); vsp1_write(lut->entity.vsp1, reg, data);
......
...@@ -26,12 +26,6 @@ ...@@ -26,12 +26,6 @@
* Device Access * Device Access
*/ */
static inline u32 vsp1_rpf_read(struct vsp1_rwpf *rpf, u32 reg)
{
return vsp1_read(rpf->entity.vsp1,
reg + rpf->entity.index * VI6_RPF_OFFSET);
}
static inline void vsp1_rpf_write(struct vsp1_rwpf *rpf, u32 reg, u32 data) static inline void vsp1_rpf_write(struct vsp1_rwpf *rpf, u32 reg, u32 data)
{ {
vsp1_write(rpf->entity.vsp1, vsp1_write(rpf->entity.vsp1,
......
...@@ -29,12 +29,6 @@ ...@@ -29,12 +29,6 @@
* Device Access * Device Access
*/ */
static inline u32 vsp1_uds_read(struct vsp1_uds *uds, u32 reg)
{
return vsp1_read(uds->entity.vsp1,
reg + uds->entity.index * VI6_UDS_OFFSET);
}
static inline void vsp1_uds_write(struct vsp1_uds *uds, u32 reg, u32 data) static inline void vsp1_uds_write(struct vsp1_uds *uds, u32 reg, u32 data)
{ {
vsp1_write(uds->entity.vsp1, vsp1_write(uds->entity.vsp1,
......
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