diff options
author | Tejun Heo <tj@kernel.org> | 2013-02-27 17:04:38 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-27 19:10:18 -0800 |
commit | 19dd2da3b4f643b65964a7f340000e27b5556f93 (patch) | |
tree | 740c5937f0adedea94428473710f1508fcf21621 /drivers/pps/kapi.c | |
parent | 05e2cefab4acb5ae9b54266935eeec32cc5269ea (diff) | |
download | blackbird-op-linux-19dd2da3b4f643b65964a7f340000e27b5556f93.tar.gz blackbird-op-linux-19dd2da3b4f643b65964a7f340000e27b5556f93.zip |
pps: convert to idr_alloc()
Convert to the much saner new idr interface.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Rodolfo Giometti <giometti@enneenne.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pps/kapi.c')
-rw-r--r-- | drivers/pps/kapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pps/kapi.c b/drivers/pps/kapi.c index f197e8ea185c..cdad4d95b20e 100644 --- a/drivers/pps/kapi.c +++ b/drivers/pps/kapi.c @@ -102,7 +102,7 @@ struct pps_device *pps_register_source(struct pps_source_info *info, goto pps_register_source_exit; } - /* These initializations must be done before calling idr_get_new() + /* These initializations must be done before calling idr_alloc() * in order to avoid reces into pps_event(). */ pps->params.api_version = PPS_API_VERS; |