diff options
| author | Jack Pham <jackp@codeaurora.org> | 2016-09-26 10:33:20 -0700 |
|---|---|---|
| committer | Jack Pham <jackp@codeaurora.org> | 2016-09-26 10:41:25 -0700 |
| commit | 3b64c4cead5531ba84370c5381106777b980a75b (patch) | |
| tree | a3f9460e3f39b6123fc291ba2cdc6c4d4dfd1646 /fs/jbd2/commit.c | |
| parent | 4e2a8a0fa1c78712904312e13ef33d02be78d421 (diff) | |
usb: pd: Return different errors in devm_usbpd_get_by_phandle()
Allow callers of devm_usbpd_get_by_phandle() to distinguish
between different errors depending on what failure is encountered.
For instance, return -EPROBE_DEFER if the device is available
but not yet probed, which allows callers to appropriately try
again later.
Change-Id: I96b03d0a4c2a04a405af5a40f9f713443bc5769b
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
