From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.megiteam.pl ([31.186.83.105]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fwnKa-0004H6-3G for barebox@lists.infradead.org; Mon, 03 Sep 2018 11:47:48 +0000 From: Marcin Niestroj Date: Mon, 3 Sep 2018 13:24:01 +0200 Message-Id: <20180903112408.2086-12-m.niestroj@grinn-global.com> In-Reply-To: <20180903112408.2086-1-m.niestroj@grinn-global.com> References: <20180903112408.2086-1-m.niestroj@grinn-global.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 11/18] crypto: caam - clean-up in caam_init_rng() To: barebox@lists.infradead.org Cc: Marcin Niestroj UGljayBjb21taXQgZjM2NmFmNDYyYWVmMWRjYWVhYjBmNjhiMDMxZTVjNGM0ZWI4NjBlMSBmcm9t IExpbnV4CnVwc3RyZWFtLgoKICAgIGNyeXB0bzogY2FhbSAtIGNsZWFuLXVwIGluIGNhYW1faW5p dF9ybmcoKQoKICAgIENsZWFuIHVwIHRoZSBjb2RlLCBhcyBpbmRpY2F0ZWQgYnkgQ29jY2luZWxs ZS4KCiAgICBDYzogSnVsaWEgTGF3YWxsIDxqdWxpYS5sYXdhbGxAbGlwNi5mcj4KICAgIFNpZ25l ZC1vZmYtYnk6IEhvcmlhIEdlYW50xIMgPGhvcmlhLmdlYW50YUBueHAuY29tPgogICAgU2lnbmVk LW9mZi1ieTogSGVyYmVydCBYdSA8aGVyYmVydEBnb25kb3IuYXBhbmEub3JnLmF1PgoKU2lnbmVk LW9mZi1ieTogTWFyY2luIE5pZXN0cm9qIDxtLm5pZXN0cm9qQGdyaW5uLWdsb2JhbC5jb20+Ci0t LQogZHJpdmVycy9jcnlwdG8vY2FhbS9jY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