summaryrefslogtreecommitdiffstats
path: root/drivers/pps/kapi.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-02-28 02:04:38 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-28 04:10:18 +0100
commit19dd2da3b4f643b65964a7f340000e27b5556f93 (patch)
tree740c5937f0adedea94428473710f1508fcf21621 /drivers/pps/kapi.c
parentpower: convert to idr_alloc() (diff)
downloadlinux-19dd2da3b4f643b65964a7f340000e27b5556f93.tar.xz
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.c2
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;