Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp6358960pxb; Thu, 27 Jan 2022 12:03:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQA6Pe7BGPiZ4klJ6BJ6X+mJnS/jj7gCEtbivKosJzgg1lDmv6Gj3D2HV/mY1c2bOb/+hC X-Received: by 2002:a17:902:d507:: with SMTP id b7mr4796725plg.44.1643313833189; Thu, 27 Jan 2022 12:03:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643313833; cv=none; d=google.com; s=arc-20160816; b=sPRnBpas+OO4FvHIB2p9Qf6TVNcZzk+1PgVYTw4y29z1LBxv8TmaNUBdcDbLRyhk0X jlBCm0xID0zcsdq509z2O1WS8vkrd1OzdO8LtChK9Ci/5DqxIKh1aTTAcpvOkm2YmJV1 qZdW3qJmNVAxCKVSf+PvfpP21OYUMFfZUQkD0Sg9MBvi+zlhLqzKYckcw0iCj9DKXhYl hbgz6I9ygWmyZBSbsqtibIDRZX06A4ErFSR7GVrmYsOr9XGxp2L0rRjm5qUuM/HElaDl 5U/lzAUUtS4wlNmAohewICcBhtl4qHLSteoGMLBGerqtPooWPrIIoIcfbsQ0MasfCWUV tWtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=XAn7F1Fj4WW9ou4Ks1O1eievoG8rv+B64FUIJS5WS5I=; b=cgQReSvLjWqD2m8SIlqmEuSf/ZyNekaemAwgfCTvgwnUlfICAdVt68yCYQRekXni2b 3Vaok+dI0ZJgAJmn5/ghbMPmVvz8RnAhHzwYRc5hak5NB/Zh5YwoDoSOzc9+zZtzeCJ7 HbXLF13CMG1pviOJ8uiBINDSyyMFZ6U4ln230WSHOny405SVXe1moTq0tWYxGg7UZyOt SMhgJIGU6fYJEHDgGG2GFG2cc9N413CNv7ChcSuEsMMfAabge70toM6S5AJ1Zcl0ES3M BFgobJXkukgFBcv9vM9FW85yqr5ebJsBjElVxZyVv4HOTZYGCaPd0apU8S9nf1oKsHzN yqVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xbJwK8QU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t14si2997193pgs.783.2022.01.27.12.03.41; Thu, 27 Jan 2022 12:03:53 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=xbJwK8QU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240606AbiA0LkF (ORCPT + 99 others); Thu, 27 Jan 2022 06:40:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240277AbiA0LkE (ORCPT ); Thu, 27 Jan 2022 06:40:04 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE434C061714 for ; Thu, 27 Jan 2022 03:40:03 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id u14so4719042lfo.11 for ; Thu, 27 Jan 2022 03:40:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=XAn7F1Fj4WW9ou4Ks1O1eievoG8rv+B64FUIJS5WS5I=; b=xbJwK8QUtP3cFKL/TfgXiBgqq7vvd2bTIygX0QOOqyLDZJeHYh9BHpnGux3lgn1pDe ygf4Nm6JS1xfMNgnw4Ju/vbsEGT3dWAMqO80eEcnjLURmd10OV+Op9zWMRNmCiuDUjaO P93BhteJLGp6j5hSjnsT8d7IE28UmLxfNblh6i4coQUdWQvhkr/N8xJ25Mayv9cyv6bH 2h4blnUw6fbqlWKdiWvF7eSqpX6VwQoe8P7/Zrg6lN1s7HoVMDkWJ99Yh8Qgfz/j9PUV /rgwslp3fSpDWWo9Ba/LaXiDl7oOXivfF8vc+2YJST/7E379NBY0S9znC9RmA010eihv tPXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=XAn7F1Fj4WW9ou4Ks1O1eievoG8rv+B64FUIJS5WS5I=; b=Vq0W563Epi5JZF/weGe8DmmxeR/mEh2hn6z8zjJGkbAKPhjMn9+B049WC9Qq/IkEL1 PwxkO0ZtYIp7r/Psh6BtegP1ct/55JAfraUpGM5KOcVvMS5+JUrSHsVQ1EFYM5HXxs1X p0t0sUf444ZnlVHw7YNjaQVMoO0LDPFo3nNp2uJHqSyTxMq2KZUOCy0lmkWoRgwQxJeI zFL7iety2XZWHP2NZUxbp4j7GD4OonABfPuYsKyVDGmEZVSDZAPilAoX39zLsHVF+daj Fd77yFZq3HZdugwlWB59vcbeSYZ2HlACmc+qEtzZ7TJRiMx6KXF25vz3BWdR/9NMxStI 8nCA== X-Gm-Message-State: AOAM530j3RaHoqM5voE7CK4gXJDZkdglbrP93uK3YWdsbNPtMh87HRdK /TJ45inr0qVRcyogGbkSdml5tCWrVAk6VfE/Rl2Mgw== X-Received: by 2002:a05:6512:3d21:: with SMTP id d33mr2549872lfv.373.1643283602134; Thu, 27 Jan 2022 03:40:02 -0800 (PST) MIME-Version: 1.0 References: <20220123175201.34839-1-u.kleine-koenig@pengutronix.de> <20220123175201.34839-6-u.kleine-koenig@pengutronix.de> In-Reply-To: <20220123175201.34839-6-u.kleine-koenig@pengutronix.de> From: Ulf Hansson Date: Thu, 27 Jan 2022 12:39:22 +0100 Message-ID: Subject: Re: [PATCH 5/5] spi: make remove callback a void function To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: Mark Brown , Linux Kernel Mailing List , linux-mmc , linux-spi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - To avoid spamming lists/people, I have dropped most of them from the to/cc list On Sun, 23 Jan 2022 at 18:54, Uwe Kleine-K=C3=B6nig wrote: > > The value returned by an spi driver's remove function is mostly ignored. > (Only an error message is printed if the value is non-zero that the > error is ignored.) > > So change the prototype of the remove function to return no value. This > way driver authors are not tempted to assume that passing an error to > the upper layer is a good idea. All drivers are adapted accordingly. > There is no intended change of behaviour, all callbacks were prepared to > return 0 before. > > Signed-off-by: Uwe Kleine-K=C3=B6nig Acked-by: Ulf Hansson # For MMC [...] Kind regards Uffe