Thread (6 messages) 6 messages, 2 authors, 2015-02-14

[PATCH 1/2] hwrng: iproc-rng200 - Add Broadcom IPROC RNG driver

From: joe@perches.com (Joe Perches)
Date: 2015-02-10 00:27:20
Also in: linux-devicetree, lkml

On Mon, 2015-02-09 at 16:07 -0800, Scott Branden wrote:
This adds a driver for random number generator present on Broadcom
IPROC devices.
trivia:
quoted hunk ↗ jump to hunk
diff --git a/drivers/char/hw_random/iproc-rng200.c b/drivers/char/hw_random/iproc-rng200.c
[]
+static int iproc_rng200_probe(struct platform_device *pdev)
+{
[]
+	if (!res) {
+		dev_err(dev, "failed to get rng resources");
Missing terminating newline:

		dev_err(dev, "failed to get rng resources\n");
+	rng_base = devm_ioremap_resource(dev, res);
+	if (!rng_base) {
+		dev_err(dev, "failed to remap rng regs");
here too.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help