diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-06-07 12:58:49 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-06-08 19:19:50 -0700 |
commit | 05b606b8845213092b50a855ecf7211caa7c82fa (patch) | |
tree | a7fba38dbd4be02fb3e00aee1b6fa97863d7b47a /drivers/iommu/arm | |
parent | 84e476b876d9164af4b965c97eee90fa88204b63 (diff) |
net: pcs: lynx: change lynx_pcs_create() to return error-pointers
Change lynx_pcs_create() to return an error-pointer on failure to
allocate memory, rather than returning NULL. This allows the removal
of the conversion in lynx_pcs_create_fwnode() and
lynx_pcs_create_mdiodev().
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/iommu/arm')
0 files changed, 0 insertions, 0 deletions