Re: [PATCH 3/5] ibmebus: Add device creation and bus probing based on of_device

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linuxppc-dev@...>
Cc: Joachim Fenkes <fenkes@...>, Paul Mackerras <paulus@...>, LKML <linux-kernel@...>, Thomas Klein <tklein@...>, Jan-Bernd Themann <themann@...>, Paul Mackerras <pmac@...>, Christoph Raisch <raisch@...>, Stefan Roscher <stefan.roscher@...>
Date: Tuesday, September 25, 2007 - 10:39 am

On Tuesday 25 September 2007, Joachim Fenkes wrote:

Hmm, do you have devices that only have the matching name property
but not the compatible property? If not, I'd suggest only looking
for compatible, so you have less chance of false positives.


nice!


the last line looks a bit silly. Maybe instead do

		rc = ibmebus_create_device(dn);
  		of_node_put(dn);
	}

	kfree(path);
	if (rc)
		return rc;
	return count;
}
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/5] PowerPC: ibmebus refactoring and fixes, Joachim Fenkes, (Tue Sep 25, 8:10 am)
Re: [PATCH 3/5] ibmebus: Add device creation and bus probing..., Arnd Bergmann, (Tue Sep 25, 10:39 am)