rust: phy: use VTABLE_DEFAULT_ERROR
authorFUJITA Tomonori <fujita.tomonori@gmail.com>
Thu, 25 Jan 2024 01:45:02 +0000 (10:45 +0900)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Jan 2024 14:28:00 +0000 (14:28 +0000)
commit599b75a3b753ad06444a4e9667cb0b7545c297c3
treeb723a25b75a565cc9b7f2e8232d1e658df9a4a9d
parent1d4046b5714200ad3a20be09843a63c1c1c9dafe
rust: phy: use VTABLE_DEFAULT_ERROR

Since 6.8-rc1, using VTABLE_DEFAULT_ERROR for optional functions
(never called) in #[vtable] is the recommended way.

Note that no functional changes in this patch.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
Reviewed-by: Trevor Gross <tmgross@umich.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
rust/kernel/net/phy.rs