Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp116261ybc; Mon, 11 Nov 2019 21:37:29 -0800 (PST) X-Google-Smtp-Source: APXvYqwCtL3DiL9xeMs5F96fh1dzzqQktEWFoWSrc+Yl4xjHsvrvkxO2E30J/t4SjnkgbR5GR2yM X-Received: by 2002:a17:906:a3cc:: with SMTP id ca12mr10633150ejb.302.1573537049831; Mon, 11 Nov 2019 21:37:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573537049; cv=none; d=google.com; s=arc-20160816; b=hoUU05sPRWJvsA74BNuwEanuOdY7s3jWbnaz8qWFtwRxYxZlFHrXgtfTdsBENQTsT3 c7yQdGibdwxNsAKos/95/ljox4t5fg9y5XbY8VesVpsfQ0r8P0l7PbeU6nm/ETVIRayF WC2I9hr7DQaQGDVKNF3fUU8VRqBlDdSbn59PuplE+FdlT5p5C4YcwIT5+Z+cOGTqXxXh y4KfESc9Hs8IyidnyWJ/5aNs4g1zXFuzmVfAPnTSGTp3gYLJcGns507bNH2i/pmCKx4+ epB+AalHn5CdhnxemDWiaNTo2WcZRgHoQSX95blCBSrpRFW7ZfCcXF7UnZBPmT1ftbGt DssA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RAW9r/JsoKHNXTnB8UVFZAJMqSbpJbznk97wI2ZYa4Y=; b=UlzSODIdBypRUK64AJCFXQFs6edwaLp2T8kjfRtZwG9Ha8RCegRLf7WWbiKv1SLY1Z tBES2+aFSw82LkTxGBrBuZHgKTTqYCQkcdXug9VnQkn5wuO+oDB7IA21Wgo9cCCrUvP1 wuPVquZxzHRHvXU1wCA4GuuBhsUx56onfoy+aO+3jLzbsqM4Sx8s5YG+BNx+NIIXeNcZ /PsV77yUai4N46QfrkbWm0DsSD117RT2vJTPQ4v1GpBZ3KEDmQNBsumySmEWWaLyn3eU xFsi/87mPitGr3x/CLeCyfePAKLHbLzU0PuOKNGDLuNzZK6lAGO1z/zo5MifVHMFnU9O ICFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wtI1maEd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id va6si10704431ejb.73.2019.11.11.21.37.05; Mon, 11 Nov 2019 21:37:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wtI1maEd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726188AbfKLFgX (ORCPT + 99 others); Tue, 12 Nov 2019 00:36:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:33018 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725283AbfKLFgX (ORCPT ); Tue, 12 Nov 2019 00:36:23 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 492902084F; Tue, 12 Nov 2019 05:36:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573536982; bh=CW4sS9ZPA3e9y0ZdHYZKfrs0TKR4gsGmIeBwQhd1j90=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wtI1maEd82Pp6yDxs99RQuT5aQA5mTHES/PlrMy6wHbRHwuJIFX98qqnxkPPon1Dv 5VOv3lteVsN4LPCXlVKTRhUB0etdtWUlQ+Bqvu6Uq3vi/JJYxuzfjphx3P6PltT4I7 yQwC9Q2b0zcBkMtkizz9cZG4zLyuwZewl36MMDr8= Date: Tue, 12 Nov 2019 06:36:19 +0100 From: Greg Kroah-Hartman To: Andreas =?iso-8859-1?Q?F=E4rber?= Cc: Hartley Sweeten , Alexander Sverdlin , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King Subject: Re: [PATCH] ARM: ep93xx: Avoid soc_device_to_device() Message-ID: <20191112053619.GA1210104@kroah.com> References: <20191111223722.2364-1-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191111223722.2364-1-afaerber@suse.de> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 11, 2019 at 11:37:22PM +0100, Andreas F?rber wrote: > ep93xx_init_soc() uses soc_device_to_device() to return a device > to ep93xx_init_devices(), where it is passed on to its callers, > who all ignore the return value. As this helper is deprecated, > change the return type of ep93xx_init_devices() to void and > have ep93xx_init_soc() return the soc_device instead. > > Cc: Greg Kroah-Hartman > Signed-off-by: Andreas F?rber > --- > arch/arm/mach-ep93xx/core.c | 12 ++++-------- > arch/arm/mach-ep93xx/platform.h | 2 +- > 2 files changed, 5 insertions(+), 9 deletions(-) Reviewed-by: Greg Kroah-Hartman