1. NAME

spi_busnum_to_master - look up master associated with bus_num

2. SYNOPSIS

struct spi_master * spi_busnum_to_master(u16  bus_num );

3. ARGUMENTS

bus_num
    the masterAqs bus number

4. CONTEXT

can sleep

5. DESCRIPTION

This call may be used with devices that are registered after arch init time. It returns a refcounted pointer to the relevant spi_master (which the caller must release), or NULL if there is no such master registered.

6. COPYRIGHT