From patchwork Tue May 26 08:04:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1245 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 4096B3F1FD for ; Tue, 26 May 2020 10:04:45 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id 194sf16223925pfb.15 for ; Tue, 26 May 2020 01:04:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590480283; cv=pass; d=google.com; s=arc-20160816; b=DXPNMUE+T3AUZQGdLxvUsLPgHtoVUc5lccYeU3CsKhQfAzAbJ+iMSCpxes3pvZOHYD +9f+dOAszeCOBIV7CHIOrEv3gyiqGhp9URy433MtUVKFuZDICUYHjNUzj5aMBV6adeXt V6/Mu2UwIPBPCC+at4ILJn5CejW1VETMmNk3rEc9jTCDa/43MfpjSwMoLEHLh5ZH+bM8 vitxF5I71XjV6d7S+cc2+7E7+F7/T5SnXvFUv7HZ9u7N0jj+1L1t2sVWf9Qs2yixm/o9 WH4raTG/jF2EjPIE2HXez1NQ5XCDiKRRxu6zXOu7pkPW270AQ7a+MGhRO1Yy1Hw+JIxg VDRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=C06ug7wnFGzqah0ZhKVwSEaXMJL3BceQh3bOMR4CtaU=; b=kYnRemebPAmvei5s0FugeYMR1tXt4bTPPqf0Y/JPY6GU1EHqEuZcvw/GHuOOGDaGnp nx6/OVPIOCuJAkOLpsj1zB2O74kmwu1pCowu+Le0XqMNrX8AZMdt319F0uHyDZOSZTfZ wWMvXI82Wby9TCvQIXScTodsXqJrrVOTM4vrllueHbk/yEyMLuEz0xb2eyxLNrCqcMbu xiaHz1RPsNc9VGY+btNsj/v93/z8Wr2BJolBI065T2zM9rttd4oFjP5hPre2wkamG+9k 6VNS1je03qbOOpa0P+B6j8Ccs7Cl7/2tKKCkGg0L7NAUst1ZpyALNwvv9Su2GMf35YV8 Lv+g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R3nVYmfE; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=C06ug7wnFGzqah0ZhKVwSEaXMJL3BceQh3bOMR4CtaU=; b=QjN1EEt3GLFAKwtS0ED1geJX2sS0MiUs0JQ7/dK34SgGoWyw4Gao2OTSAo5Nubyj0j X4A1lbNGMqFdVw0HecLBwz+9tKDo1+PjKhsmINh03qBXlkgIUZuIORDqXmwqd0Rp2ghh XoERz0GYkxBdVlk6KSxuyJ6aZV47FFG3R05A4= 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:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=C06ug7wnFGzqah0ZhKVwSEaXMJL3BceQh3bOMR4CtaU=; b=kzdaN+dVliZifD1EgLj30+bSOa3onHQuR7ulU9dJXc6bEBK2ds0xm4r5Mh+Jb+ycQe Yoq8HvdAxriUFOaKtj7g/LOY8B7cgux8rOeakcwxaiAfIaxlsm0VhpONmX72LkDiB27c DTlyOFwfqQBgTu8Ia3byGAqnitKVyk88C8NIP7b2bb9rH2iTV8T5d6qxwJ9XJ7BVJDgr syeMWznSKCf+wTLywXNQEzKUjDLeRapXTwVwK3QXKDQGxNv+XwyIToJ+nJhvFdbpczii 8VEwAOriYjgBTJu7NW4DkrxSMMuXt/xMoZTjNQfofJWBB9GoIj5fr2872RevTx+2tWuz zG9Q== X-Gm-Message-State: AOAM531jEsSPhZ79Qw0yI1+0W9vM5W1uGifr1d+OFEjr03a7OqdMqCvu 3voOeDjeapLvPLsk4VgP/9xBxsXx X-Google-Smtp-Source: ABdhPJx0Fgt1JZrhKkY7mMJ63L/WO9frXErvDfVmfYNjBFo/4/KAR2jbiXBAsR9rXe/ltPKHaDxzVQ== X-Received: by 2002:a63:c407:: with SMTP id h7mr368130pgd.174.1590480283755; Tue, 26 May 2020 01:04:43 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:b219:: with SMTP id x25ls3471346pge.8.gmail; Tue, 26 May 2020 01:04:43 -0700 (PDT) X-Received: by 2002:a63:1f0e:: with SMTP id f14mr27238337pgf.405.1590480283277; Tue, 26 May 2020 01:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590480283; cv=none; d=google.com; s=arc-20160816; b=qHEsUV3NbmviGdzdYYiXxjtcl74RLWM/3zpO9nF3MJZuIvgZSu1+hLfJs+A7DdowrN iCLHnjywyQsgUCiRkIqaIIEjHDaRUIsSOklSVDcIhEXv9XVxJsvnoffMXRS2xhCdC0ep duExtsJwoYeK4UKDLBMINbHFpb2aZ/qmwIphM6Wyxfubd4HHlumabgAImrUYqCuH8fvx AOHYRCKZKyR9s6OugutThmArQVX9RMxY20H6P9JOnuwpgjj7Syk7PeGXakzz4lP9ZyYM 1/dRqG8f50AEzgwgdSy6EercfcTXUEnzRy0IxeSmPVM8FYQRY8KrccwGqq8xQbVwTL9e 6gCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=WEDdm6b6OQMs/WN6t/S4TlicegmcSzXLV7a/tN1g164=; b=XZUCCrBgGuSH7QDsVigEEq2m0XA7CE8uz2JVo5mDOSpxLW1jZrrJ9xZj552uJQ/4s2 d/uGkOVuYbIEMRq8dgeKNsL+D0oyWn3i/3mpYk8Wql70vEtpMCAyGlCGvEPcp3gbnf0n 3sdj5PyYOMcTLTj8NNYFIUiUHEAC39h7n/Evp9Z8hpOyQ29xEOkC1VvSjTdUY/wofIXN 6pC4Af+Das0tvnivD069vplCfZrPpAMNOlRWnJhgfieaofFQNtqIILW0GzCQPy4cZn+4 maE+rtdV7OLfn1wczoowabDPm8wk6+voa+2kWpb8sp5jhy0UiVXfagAPQ+gtpU6g8o65 PLkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R3nVYmfE; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id p4sor26197857pls.53.2020.05.26.01.04.43 for (Google Transport Security); Tue, 26 May 2020 01:04:43 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a17:902:b18b:: with SMTP id s11mr30855498plr.160.1590480282952; Tue, 26 May 2020 01:04:42 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3:4404:74c7:87fd]) by smtp.gmail.com with ESMTPSA id d8sm14560782pfq.123.2020.05.26.01.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 May 2020 01:04:42 -0700 (PDT) From: Jagan Teki To: Simon Glass , Tom Rini Cc: u-boot@lists.denx.de, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 1/9] spi Drop spi_init() Date: Tue, 26 May 2020 13:34:22 +0530 Message-Id: <20200526080430.118262-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200526080430.118262-1-jagan@amarulasolutions.com> References: <20200526080430.118262-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R3nVYmfE; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , spi_init doesn't exist anywhere in the code. Drop it. Signed-off-by: Jagan Teki --- drivers/spi/cf_spi.c | 4 ---- drivers/spi/kirkwood_spi.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/drivers/spi/cf_spi.c b/drivers/spi/cf_spi.c index dd9c77281f..dec92df69b 100644 --- a/drivers/spi/cf_spi.c +++ b/drivers/spi/cf_spi.c @@ -383,10 +383,6 @@ static int coldfire_spi_probe(struct udevice *bus) return 0; } -void spi_init(void) -{ -} - #if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA) static int coldfire_dspi_ofdata_to_platdata(struct udevice *bus) { diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c index 01fcf6bef5..3986b06b25 100644 --- a/drivers/spi/kirkwood_spi.c +++ b/drivers/spi/kirkwood_spi.c @@ -183,10 +183,6 @@ int spi_cs_is_valid(unsigned int bus, unsigned int cs) } #endif -void spi_init(void) -{ -} - void spi_cs_activate(struct spi_slave *slave) { _spi_cs_activate(spireg);