media: ddbridge: remove unused MDIO defines and hwinfo member
authorDaniel Scheller <d.scheller@gmx.net>
Sat, 23 Jun 2018 15:36:02 +0000 (11:36 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 30 Jul 2018 20:23:12 +0000 (16:23 -0400)
ddbridge has a few MDIO related remainders (defines, hwinfo struct) which
aren't of any use for the in-kernel driver at all (they're only used in
conjunction with the OctoNet SAT>IP boxes which the kernel driver doesn't
have any support for), so clean this up.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/ddbridge/ddbridge-regs.h
drivers/media/pci/ddbridge/ddbridge.h

index b978b59..f9e1cbb 100644 (file)
 #define GPIO_DIRECTION   0x28
 
 /* ------------------------------------------------------------------------- */
-/* MDIO */
-
-#define MDIO_CTRL        0x20
-#define MDIO_ADR         0x24
-#define MDIO_REG         0x28
-#define MDIO_VAL         0x2C
-
-/* ------------------------------------------------------------------------- */
 
 #define BOARD_CONTROL    0x30
 
index a66b112..9c645be 100644 (file)
@@ -127,7 +127,6 @@ struct ddb_info {
        u8    temp_bus;
        u32   board_control;
        u32   board_control_2;
-       u8    mdio_num;
        u8    con_clock; /* use a continuous clock */
        u8    ts_quirks;
 #define TS_QUIRK_SERIAL   1