Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3533063pxv; Mon, 19 Jul 2021 02:33:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOs/iBl+e/onBuxpxIAshW85VTD7XpFNHYH9KsNSs+1QSEwitjyuQwSxaYwIZId3EWpYbl X-Received: by 2002:a92:d912:: with SMTP id s18mr16714102iln.172.1626687216647; Mon, 19 Jul 2021 02:33:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626687216; cv=none; d=google.com; s=arc-20160816; b=rX8U70oVY2aMQ9Zx45edpK37pd3fcHIxj7PFuOc0Lwc/8NZzS9TK/L3hui3GH9WXmJ X737VdTyjmCNIE36uxtPEljlLIvd0LQ089WqP9bciZwV0jCobtJuMkadV/Guy1qp+rQf x8TupIduys1dLthlxX93EWqm3I6WSNy4vYnxOAcaab9KoRczmd8yF+3XcGpHBA9d1ivO b1588a23+r/l3LjQBzOXNQsSk7+sj/qWRGK+T7Jrm6zC9OCmtsMlieh/fxnVx2F/j6vx h28ypPie73ggwj7zH8+iFSZBsEcK/1+SItk4+uqh08sm5J/8uw3gSVWFVEjbIHANfJhv jgGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=aBFMGGz+BLAMTqR55pudhIEr7WgvyR4QakkqrYOJBUM=; b=XLZc6yvdYYGaReAt4FsHZGI2cPU8xmWlMCt1S3UlnWIFPwCCWzXtKtWMKc2XzFhXE6 z44k35V/qAmZRczYM+LJtNDaCrGTAyFjrn0Z9KjBQl+kiQkPG+MtfEHoAPG8W+ZIPQ2h FptTiMSRvLhiFEBdi4tJ454iZxPxqxws0vY17xak7OtlSUoVS6j2F2951fsgV1veqFel 4tzHaWCQRrY6++/+ocL2HnqMivRW4tO2PZCbU79nDC0XU0O9v902TkEyvNN5kUvaLTaW 6cZVqjl2qMavMBbd8hQA9zs325LzoVfPfMmqnza0xVI2pm24IPKxs8+c1y1AARqv+Uz5 YPZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z14si11317585ilu.89.2021.07.19.02.33.24; Mon, 19 Jul 2021 02:33:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235872AbhGSIwI (ORCPT + 99 others); Mon, 19 Jul 2021 04:52:08 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:49964 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S234868AbhGSIwH (ORCPT ); Mon, 19 Jul 2021 04:52:07 -0400 X-UUID: 32c4bb74f73f46e491953d9ac8bdf1ad-20210719 X-UUID: 32c4bb74f73f46e491953d9ac8bdf1ad-20210719 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1110884393; Mon, 19 Jul 2021 17:32:43 +0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 19 Jul 2021 17:32:41 +0800 Received: from localhost.localdomain (10.15.20.246) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 19 Jul 2021 17:32:41 +0800 From: Mason Zhang To: Mark Brown , Matthias Brugger CC: , , , , , , Mason Zhang Subject: [PATCH 2/3] spi: modify set_cs_timing parameter Date: Mon, 19 Jul 2021 17:16:43 +0800 Message-ID: <20210719091642.24633-1-mason.zhang@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Mason Zhang No need pass in spi_delay to set_cs_timing callback. Signed-off-by: Mason Zhang --- include/linux/spi/spi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 651e19ba3415..fe027efb85c2 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h @@ -553,8 +553,7 @@ struct spi_controller { * to configure specific CS timing through spi_set_cs_timing() after * spi_setup(). */ - int (*set_cs_timing)(struct spi_device *spi, struct spi_delay *setup, - struct spi_delay *hold, struct spi_delay *inactive); + int (*set_cs_timing)(struct spi_device *spi); /* bidirectional bulk transfers * -- 2.18.0