Re: [PATCH net-next] net: phy: qt2025: simplify Result<()> in probe return
From: Andrew Lunn
Date: Mon Nov 18 2024 - 09:15:50 EST
On Mon, Nov 18, 2024 at 06:39:34PM +0530, Manas via B4 Relay wrote:
> From: Manas <manas18244@xxxxxxxxxxx>
>
> probe returns a `Result<()>` type, which can be simplified as `Result`,
> due to default type parameters being unit `()` and `Error` types. This
> maintains a consistent usage of `Result` throughout codebase.
>
> Signed-off-by: Manas <manas18244@xxxxxxxxxxx>
Miguel has already pointed out, this is probably not sufficient for a
signed-off-by: You need a real name here, in order to keep the lawyers happy.
Also, each subsystem has its own way of doing things. Please take a
read of:
https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
Andrew
---
pw-bot: cr