From patchwork Sat Oct 8 14:12:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 613693 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BC47C433FE for ; Sat, 8 Oct 2022 14:12:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229745AbiJHOMT (ORCPT ); Sat, 8 Oct 2022 10:12:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229643AbiJHOMS (ORCPT ); Sat, 8 Oct 2022 10:12:18 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64BEB4AD41 for ; Sat, 8 Oct 2022 07:12:16 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id ot12so16723930ejb.1 for ; Sat, 08 Oct 2022 07:12:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ragnatech-se.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=W0QbvPxiY+MeQIGR6l62aG+Bjcd6CIWsYg5jv5wW/DI=; b=uIo8g8OKRVj5jBu+TXV+hiKo+5/FKoWXQ116F8mawF2H9Gm/u116IDa3QGCaOnl41O AyZeCH1LZmnsyB24mETrP7vzs4U8oVmoaelZ7PKZHABxTsJf0s3LOLlTSHMlo/+3qJC4 tCBYyTNxWiWjFiEdR6JZp/r+/WQwTo5ebAsOdY0OKxGiH5aEzD8SKptKNzoHQVcWdScY V5WspnxBgxZFGNQ+iWrv5TfiZKCqJN5Y+SGT8Z833eBgwztwD88i9ghMw29K4GoSmuhr W7XAN1G2sZyA4Pqqc+J+Q032SLbzHU3WAudolLxV4Bp8WBApI0v23f9Vu/TEJbAWJ2hG N7Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=W0QbvPxiY+MeQIGR6l62aG+Bjcd6CIWsYg5jv5wW/DI=; b=hfLYG64poq2fkQzst3qMOPUnduyo79mO8W5FQSvNAU6+GFieHlTT7y09bDQYMUhJiG NoPLTLOZceh4pqKuP+cRcA5buW8qUPw51avtXlFBGMAKM8i0ljkbgiOw6T5iyX9egYTu DJ3KRm5Uv+2djwGyA5+Gt/c6FiJcz5okuHs0+yyemjjhEjRgcFDiwtW1CsXJ1JewKrA3 osYDUSEQYEhDt/ZKgoS8ky+8w91xgrWwTxEZ8AMPv5spE+KIFX6eXJFhdAHDwsT6LPyw 1bFI2XVgk3/E4O0qTJkUKbsmxdKg1TWcGLXFv2QLpH9E3yzlSYUhQk/UnXLs4Axl9jn3 jF2A== X-Gm-Message-State: ACrzQf2+ECpUNIth/OCg7hbs02qhxq1ogM/fSBaz949CK6giry4ibFC8 uZS7SU3kW7KkvpyaIWVMk2Zt8w== X-Google-Smtp-Source: AMsMyM5VQ7yP5vR1PSJTzyrUtzBzRZG77J4y8z0Rg0wrxBDfPaKqgEyW6uYxQ3BBmJkJga4NwxFb3w== X-Received: by 2002:a17:907:62a7:b0:789:48ea:ddb0 with SMTP id nd39-20020a17090762a700b0078948eaddb0mr7883069ejc.575.1665238334912; Sat, 08 Oct 2022 07:12:14 -0700 (PDT) Received: from sleipner.berto.se (p54ac5370.dip0.t-ipconnect.de. [84.172.83.112]) by smtp.googlemail.com with ESMTPSA id i17-20020aa7c711000000b004575085bf18sm3500619edq.74.2022.10.08.07.12.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Oct 2022 07:12:14 -0700 (PDT) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: Kieran Bingham , Hans Verkuil , linux-media@vger.kernel.org Cc: linux-renesas-soc@vger.kernel.org, =?utf-8?q?Niklas_S=C3=B6derlund?= Subject: [PATCH] media: i2c: adv748x: Remove dead function declaration Date: Sat, 8 Oct 2022 16:12:05 +0200 Message-Id: <20221008141205.3493964-1-niklas.soderlund+renesas@ragnatech.se> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org There is no implementation of adv748x_register_subdevs(), remove the declaration in the header file. Signed-off-by: Niklas Söderlund --- drivers/media/i2c/adv748x/adv748x.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/i2c/adv748x/adv748x.h b/drivers/media/i2c/adv748x/adv748x.h index d75eb3d8be5a..6f90f78f58cf 100644 --- a/drivers/media/i2c/adv748x/adv748x.h +++ b/drivers/media/i2c/adv748x/adv748x.h @@ -428,9 +428,6 @@ void adv748x_subdev_init(struct v4l2_subdev *sd, struct adv748x_state *state, const struct v4l2_subdev_ops *ops, u32 function, const char *ident); -int adv748x_register_subdevs(struct adv748x_state *state, - struct v4l2_device *v4l2_dev); - int adv748x_tx_power(struct adv748x_csi2 *tx, bool on); int adv748x_afe_init(struct adv748x_afe *afe);