Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp647069ybi; Fri, 2 Aug 2019 01:57:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUbuVVyNbT9vgi2JoOeVqTeCQev9eLNOMrkfEczxlxIZSh2C4A/Nc8pNfFHK/9JYZK2FLV X-Received: by 2002:a63:c44c:: with SMTP id m12mr84067059pgg.396.1564736276468; Fri, 02 Aug 2019 01:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564736276; cv=none; d=google.com; s=arc-20160816; b=T4CB+bmJlBF7goCIsbmqrESX8eYoJjfxw4HderJOzph9XlMpnHb2TOlub+Xit3kpbZ 67S99r24u8Sf18YGBMPtPpY4cEwx4K/p8c/7Nmbdp1tJqm7ZQAd6bahbTC9YfWjhYcHl knQi76s7heHLPZkc3IvxqO12ljAmVR34NO1sL+rJ2QmjDbhT3Tr2gFDI8k4G71C9I4YX L6+hJ3iIFObHdg/HA0cZhOztj90btVknhixXYmypUM719I27pF0hKrIIhWZUqP6cC7U4 l/2AhwgVOldU9qAYRhV6LbXzfSzFgifREnDGwMyRXEOz7PmVlfUayqMvMJ7Zobth42VU +7QA== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=v4mEjFqfGCDh/NV+mYMRB+RMA3htP9Fy8jNFbHwTsz4=; b=fj3xv9dmMhv8W3PaIxivAb2Ym594ZmdBtE+bhkCpqxdgUnnu2MuWYav++ZyOudIf5N 3lG/z8RquGqtkRCXxNLxCKg/EihZuy8I8BYlm6QS4RG9kWYRWHbvnb/B/+meaGZKlG0w oOlv/UvPF3q3tQFAYmuWDrUz4gzFA0XRtFzysqgoyft+HfccOT+0aFn/8DOjOEtsGypO fQQwiA/fDHG1Mh9uxnH/KU85XoE/Vzvhe+SLKKB6mo/XQVsXL4UhVIPtZg546pL/o+nC M3MS6eAAh7/K/TVo4bi3nOxj/HEOuLBzEXHOhKkyPTNkgdc4E/4fFtQLh9DbH8W9JjF8 j5IQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 t3si38628504pfh.218.2019.08.02.01.57.42; Fri, 02 Aug 2019 01:57:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732296AbfHBE41 (ORCPT + 99 others); Fri, 2 Aug 2019 00:56:27 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:48728 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732224AbfHBE41 (ORCPT ); Fri, 2 Aug 2019 00:56:27 -0400 Received: from gondolin.me.apana.org.au ([192.168.0.6] helo=gondolin.hengli.com.au) by fornost.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1htPbT-0006IL-3e; Fri, 02 Aug 2019 14:55:43 +1000 Received: from herbert by gondolin.hengli.com.au with local (Exim 4.80) (envelope-from ) id 1htPbN-0004jz-DL; Fri, 02 Aug 2019 14:55:37 +1000 Date: Fri, 2 Aug 2019 14:55:37 +1000 From: Herbert Xu To: Chuhong Yuan Cc: Matt Mackall , Arnd Bergmann , Greg Kroah-Hartman , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , =?utf-8?Q?=C5=81ukasz?= Stelmach , Kukjin Kim , Krzysztof Kozlowski , Deepak Saxena , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Patrice Chotard , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] hwrng: Use device-managed registration API Message-ID: <20190802045537.GG18077@gondor.apana.org.au> References: <20190725080155.19875-1-hslester96@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190725080155.19875-1-hslester96@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Jul 25, 2019 at 04:01:55PM +0800, Chuhong Yuan wrote: > Use devm_hwrng_register to simplify the implementation. > Manual unregistration and some remove functions can be > removed now. > > Signed-off-by: Chuhong Yuan > --- > drivers/char/hw_random/atmel-rng.c | 3 +-- > drivers/char/hw_random/cavium-rng-vf.c | 11 +---------- > drivers/char/hw_random/exynos-trng.c | 3 +-- > drivers/char/hw_random/n2-drv.c | 4 +--- > drivers/char/hw_random/nomadik-rng.c | 3 +-- > drivers/char/hw_random/omap-rng.c | 3 +-- > drivers/char/hw_random/powernv-rng.c | 10 +--------- > drivers/char/hw_random/st-rng.c | 4 +--- > drivers/char/hw_random/xgene-rng.c | 4 +--- > 9 files changed, 9 insertions(+), 36 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt