From mboxrd@z Thu Jan 1 00:00:00 1970 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 A3438C433FE for ; Thu, 24 Nov 2022 19:13:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229491AbiKXTNV (ORCPT ); Thu, 24 Nov 2022 14:13:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229379AbiKXTNU (ORCPT ); Thu, 24 Nov 2022 14:13:20 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 774E37FC00; Thu, 24 Nov 2022 11:13:19 -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 124A9620DD; Thu, 24 Nov 2022 19:13:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7131C433C1; Thu, 24 Nov 2022 19:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669317198; bh=7KpnDMUalSgWItP+VAa3m8OXxzBAWFMqff0RWDZTOmA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gLJy9iOSIrhvTe0cTLIq5+fa/nwBk1do8oHdXtkkOfEfEmjgWNfPS/lTSEJJiXFVm yKZA5WW1KVTQeOOrNeAXW48ebU9kmvNWi1KkcWqWwZwPXIbvC2sY6QEA9NR/OfFZkZ ennZtrnRfTTLFsVs7YG8RwUR8sJ0Z2rfejdcQYuEcKIw41iIdKqIF3CIpQnDB07Ecl /4AeQxW3RtVUkJyKFmT+UVaqpUHkOgycqj9bGuS/Ibr7OS0jv+LN7lYBy2U17flbdB uCMoyF8o53yAiKZHBF4mriD9PMjcyIjzpxPTfPC/JjpLi5LPks0JtpN2W0al1K59bA KONn/CRJUE04w== Date: Thu, 24 Nov 2022 19:25:52 +0000 From: Jonathan Cameron To: Cosmin Tanislav Cc: Lars-Peter Clausen , Michael Hennerich , Cosmin Tanislav , Linus Walleij , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH] iio: addac: ad74115: remove unused ad74115_dac_slew_rate_hz_tbl Message-ID: <20221124192552.144e8348@jic23-huawei> In-Reply-To: <20221124152559.7895-1-cosmin.tanislav@analog.com> References: <20221124152559.7895-1-cosmin.tanislav@analog.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Thu, 24 Nov 2022 17:25:59 +0200 Cosmin Tanislav wrote: > This table was supposed to be used for handling the DAC rate, but it > ended up being unused. Remove it. > > Signed-off-by: Cosmin Tanislav > Reported-by: kernel test robot > Fixes: 48ea75598db2 ("iio: addac: add AD74115 driver") Dropped fixes tag as it's not going to do anything bad other than warning without this and to put it likely fixes tags against recent patches have been causing me a world of pain this week. Applied on basis its safe enough even without time soaking in next. Jonathan > --- > drivers/iio/addac/ad74115.c | 4 ---- > 1 file changed, 4 deletions(-) > > diff --git a/drivers/iio/addac/ad74115.c b/drivers/iio/addac/ad74115.c > index 383b92e7b682..e6bc5eb3788d 100644 > --- a/drivers/iio/addac/ad74115.c > +++ b/drivers/iio/addac/ad74115.c > @@ -317,10 +317,6 @@ static const unsigned int ad74115_dac_rate_step_tbl[][3] = { > { AD74115_SLEW_MODE_LINEAR, AD74115_SLEW_STEP_22_2_PERCENT, AD74115_SLEW_RATE_240KHZ }, > }; > > -static const unsigned int ad74115_dac_slew_rate_hz_tbl[] = { > - 4000, 64000, 150000, 240000 > -}; > - > static const unsigned int ad74115_rtd_excitation_current_ua_tbl[] = { > 250, 500, 750, 1000 > };