struct_spi_res(9) spi resource management structure

SYNOPSIS


struct spi_res {
struct list_head entry;
spi_res_release_t release;
unsigned long long data[];
};

MEMBERS

entry

list entry

release

release code called prior to freeing this resource

data[]

extra data allocated for the specific use-case

DESCRIPTION

this is based on ideas from devres, but focused on life-cycle management during spi_message processing

COPYRIGHT