mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 19:16:02 +02:00
media: rzg2l-cru: Remove unused fields from rzg2l_cru_ip_format struct
Simplified the `rzg2l_cru_ip_format` struct by removing the unused `datatype` and `bpp` fields from the structure in `rzg2l-ip.c`. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Link: https://lore.kernel.org/r/20241018133446.223516-10-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
parent
3b50615542
commit
40516958d7
|
|
@ -10,12 +10,10 @@
|
|||
|
||||
struct rzg2l_cru_ip_format {
|
||||
u32 code;
|
||||
unsigned int datatype;
|
||||
unsigned int bpp;
|
||||
};
|
||||
|
||||
static const struct rzg2l_cru_ip_format rzg2l_cru_ip_formats[] = {
|
||||
{ .code = MEDIA_BUS_FMT_UYVY8_1X16, .datatype = 0x1e, .bpp = 16 },
|
||||
{ .code = MEDIA_BUS_FMT_UYVY8_1X16, },
|
||||
};
|
||||
|
||||
static const struct rzg2l_cru_ip_format *rzg2l_cru_ip_code_to_fmt(unsigned int code)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user