From patchwork Sat Jun 23 15:36:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10483715 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 607316023A for ; Sat, 23 Jun 2018 15:36:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 645B2288D1 for ; Sat, 23 Jun 2018 15:36:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 594E2289D1; Sat, 23 Jun 2018 15:36:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B4FB288D1 for ; Sat, 23 Jun 2018 15:36:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751619AbeFWPg1 (ORCPT ); Sat, 23 Jun 2018 11:36:27 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:42475 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751458AbeFWPgZ (ORCPT ); Sat, 23 Jun 2018 11:36:25 -0400 Received: by mail-wr0-f196.google.com with SMTP id w10-v6so9413619wrk.9 for ; Sat, 23 Jun 2018 08:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=w9NhTDxMzyTLS3uv4kPqRfyLBgMG6TNM9E2jnk2s9TY=; b=uEO3pHFe50EUiKUgNbDo5o0FnK95Um8dmxvKOqbtPe/mWKa1htpYccxUYbnn8t2ZTY CclSyAnVQ1ZA8dQnAj+8SdxaML5v22aUhLk89zEgqdj29MuWQ3xA6SgCogN3qb4PzFAO G9QSTaMi8VCPA+zIIkUSjVWNi8BXwBfesMBWlX4JA8C/DIUaGgSShhbSSHCImIGjDbbw PkqpVU+vDolQeFLCXJ5alJxyRaqwfoQztC3INDsdcMxxE5nL9muTbdPsLw+4A8Rv5zDZ CXrXB2PIt34DSeY7TyH3m/RTARvTg4yYiuN85sTB0wkoWoAkZxKwAktHY9HCex86JT0u M2Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=w9NhTDxMzyTLS3uv4kPqRfyLBgMG6TNM9E2jnk2s9TY=; b=Aa8mwlFm3Sy19dmNH/q+Zn29ISSSe59dpygGxTJn64ousdT1k+yP/Yw4TiZ47QHnh+ gexgKotzYfRtYRzKZVoth6dgUBhh1vNeBaom9jo+Yi5TteGRVQPZnsY2xGS0SQACYreh xuNpTRGT2hFHLx7fOBwQOMoyxvhloxsZFdfZJHTvlajQWd+4CGe9c5AMM8t+VAXylp9d eilnk8rCf2oyT/eGmnsHfhYSaUU14RQeh7F9X6jf9l0leIVdcJ9WUNEcNlL+0ljjDSAj e7cg5h8o9U5DJwQpouHlTBXbHLoJ0taiTrtFEtEoYP18a++yVtbZDGHeIsSEFda7ej++ 3CLg== X-Gm-Message-State: APt69E0qZD0a9UsjU2SpGAx1L0sFcDSYpDsBVFO3piHHP0mqy46271EL bYd+fqaIXfipXATEWy0MtBehpg== X-Google-Smtp-Source: ADUXVKKe43VtX00lB4IM0CK4EsIeFrLyKUZPo0ZLk4bocp1rp0cNwEgp40gQTdauMGxyYdJset+rWw== X-Received: by 2002:adf:dc8b:: with SMTP id r11-v6mr4878476wrj.166.1529768184006; Sat, 23 Jun 2018 08:36:24 -0700 (PDT) Received: from dvbdev.wuest.de (ip-176-199-71-134.hsi06.unitymediagroup.de. [176.199.71.134]) by smtp.gmail.com with ESMTPSA id o15-v6sm3443156wrm.38.2018.06.23.08.36.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Jun 2018 08:36:23 -0700 (PDT) From: Daniel Scheller To: mchehab@kernel.org, mchehab@s-opensource.com Cc: linux-media@vger.kernel.org Subject: [PATCH 06/19] [media] ddbridge: remove unused MDIO defines and hwinfo member Date: Sat, 23 Jun 2018 17:36:02 +0200 Message-Id: <20180623153615.27630-7-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20180623153615.27630-1-d.scheller.oss@gmail.com> References: <20180623153615.27630-1-d.scheller.oss@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller 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 --- drivers/media/pci/ddbridge/ddbridge-regs.h | 8 -------- drivers/media/pci/ddbridge/ddbridge.h | 1 - 2 files changed, 9 deletions(-) diff --git a/drivers/media/pci/ddbridge/ddbridge-regs.h b/drivers/media/pci/ddbridge/ddbridge-regs.h index b978b5991940..f9e1cbb99b53 100644 --- a/drivers/media/pci/ddbridge/ddbridge-regs.h +++ b/drivers/media/pci/ddbridge/ddbridge-regs.h @@ -33,14 +33,6 @@ #define GPIO_INPUT 0x24 #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 diff --git a/drivers/media/pci/ddbridge/ddbridge.h b/drivers/media/pci/ddbridge/ddbridge.h index a66b1125cc74..9c645bee428a 100644 --- a/drivers/media/pci/ddbridge/ddbridge.h +++ b/drivers/media/pci/ddbridge/ddbridge.h @@ -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