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)
commit7eda8b8e967781cfa5a04962502f9aa428f67e5f
tree9ae63d4aee01fc7bf38545bd6b81350962adacfc
parentab34a1813ca16bfbc672a21ca354164c8b941922
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