__platform_register_drivers(9) register an array of platform drivers

SYNOPSIS

int __platform_register_drivers(struct platform_driver *const * drivers, unsigned int count, struct module * owner);

ARGUMENTS

drivers

an array of drivers to register

count

the number of drivers to register

owner

module owning the drivers

DESCRIPTION

Registers platform drivers specified by an array. On failure to register a driver, all previously registered drivers will be unregistered. Callers of this API should use platform_unregister_drivers to unregister drivers in the reverse order.

RETURNS

0 on success or a negative error code on failure.

COPYRIGHT