diff options
| author | Christoph Hellwig <[email protected]> | 2018-04-24 17:00:52 +0200 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2018-05-16 07:23:35 +0200 |
| commit | 61172eaea1adf64a77e563b0cb30d7ee88d9aa80 (patch) | |
| tree | 07ca85b5531274c7bb4063ef391f2b8d2caaf057 /net/switchdev/switchdev.c | |
| parent | 04015e3fa235eba28cc058c73d7d346c1bcffee8 (diff) | |
proc: simplify proc_register calling conventions
Return registered entry on success, return NULL on failure and free the
passed in entry. Also expose it in internal.h as we'll start using it
in proc_net.c soon.
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions