D | abstract_driver.c | 4 * SPDX-License-Identifier: Apache-2.0 14 /* define individual driver A */ 15 static int my_driver_A_do_this(const struct device *dev, int foo, int bar) in my_driver_A_do_this() argument 17 return foo + bar; in my_driver_A_do_this() 35 /* define individual driver B */ 36 static int my_driver_B_do_this(const struct device *dev, int foo, int bar) in my_driver_B_do_this() argument 38 return foo - bar; in my_driver_B_do_this()
|