]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Use IDR library to assing NFC devices IDs
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 22 Oct 2012 13:57:58 +0000 (15:57 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 26 Oct 2012 16:26:51 +0000 (18:26 +0200)
commite1d1dcd63c697b67193b63ead25f520eee97e409
tree9ae63d4aee01fc7bf38545bd6b81350962adacfc
parent57ae7fa7a163e0170e7060467c3f7f806803ebc7
NFC: Use IDR library to assing NFC devices IDs

As a consequence the NFC device IDs won't be increasing all the time,
as IDR provides the first available ID.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/net/nfc/nfc.h
net/nfc/core.c