pub struct RegistrationWithIrqChip<T: ChipWithIrqChip> { /* private fields */ }
Expand description

A registration of a gpio chip that includes an irq chip.

Implementations

Creates a new RegistrationWithIrqChip but does not register it yet.

It is allowed to move.

Registers a gpio chip and its irq chip with the rest of the kernel.

Users are encouraged to use the gpio_irq_chip_register macro because it automatically defines the lock classes and calls the registration function.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.