From patchwork Sat Jan 14 17:29:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 13102069 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 B70ADC46467 for ; Sat, 14 Jan 2023 17:15:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229534AbjANRP4 (ORCPT ); Sat, 14 Jan 2023 12:15:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbjANRPz (ORCPT ); Sat, 14 Jan 2023 12:15:55 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D36F646BB for ; Sat, 14 Jan 2023 09:15:54 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6DFBB60BC1 for ; Sat, 14 Jan 2023 17:15:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DA852C433D2; Sat, 14 Jan 2023 17:15:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673716553; bh=Z4CUb9Wc9SyTLKeH3Dio5eVSdB7/0NkXdVrPSc6jwiQ=; h=From:To:Cc:Subject:Date:From; b=lm0mS2EK0Ox7W7idER5cwBiAFNEn5WvTQ9mOKmOomoPlba+zqaJh5WrtHwVP1Tx2B zMAGGxHcFgxilhLwNSZwCKqLI+I7GNXUTBtfS2etYywd0tfw2KKwyq5szDF5sLelLs AVoZM+DyDt3eXQRj8HyDCzWUnmz1U3GWFz6IIhflIYkFTGOrS99q5FhAOsbxhjH5jn iPromnetFVikCgFRoCgB3ewidzAqfUJWua0I64MT7G7NUzeEdXeq84DH9n71FPBEEP 1uzlld1vulXBpGRzl6QhWzU86naxmoVEtm1AvS2w6lmi4ibhfmpxmj22Ett5EBvbz8 wfebhSr3XAdlQ== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Jonathan Cameron , Gwendal Grignou , Stephen Boyd Subject: [PATCH] iio: proximity: sx_common: Drop documentation of non existent struct element. Date: Sat, 14 Jan 2023 17:29:28 +0000 Message-Id: <20230114172928.80414-1-jic23@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron struct sx_common_data doesn't have a num_default_regs element so drop the documentation for it. Signed-off-by: Jonathan Cameron Cc: Gwendal Grignou Cc: Stephen Boyd Reviewed-by: Stephen Boyd --- drivers/iio/proximity/sx_common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/proximity/sx_common.h b/drivers/iio/proximity/sx_common.h index a706f4060978..a3335259bcf7 100644 --- a/drivers/iio/proximity/sx_common.h +++ b/drivers/iio/proximity/sx_common.h @@ -107,7 +107,6 @@ struct sx_common_chip_info { * @regmap: Register map. * @acpi_id: ACPI device entry when the device is using APCI, NULL * otherwise. - * @num_default_regs: Number of default registers to set at init. * @chan_prox_stat: Last reading of the proximity status for each channel. * We only send an event to user space when this changes. * @trigger_enabled: True when the device trigger is enabled.