aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2013-08-27 18:48:30 -0700
committerJack Pham <jackp@codeaurora.org>2013-09-22 21:52:26 -0700
commitdca35bba1c1ea8fc55bc4c7f63517517a90fd27c (patch)
tree2d0706c4f5c50179d142cd3fd7ad3fa280b27612 /net/unix/af_unix.c
parent568a7d3d76b9d645f7bed1300276d35bba332424 (diff)
usb: misc: diag_bridge: use platform_device_register_simple
Simplify platform_device allocation in probe() function by calling platform_device_register_simple(). This does the job of both allocation as well as calling platform_device_add(), which will reduce the number of error checks needed by one. CRs-fixed: 534397 Change-Id: I02815b67a36dd7da0bf872ca5bd7464e290267c8 Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions