aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/include/array_size.h
blob: 26ba78d867d160dbb7e8280bfcae5ce511b3429f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef ARRAY_SIZE_H
#define ARRAY_SIZE_H

/**
 * ARRAY_SIZE - get the number of elements in array @arr
 * @arr: array to be sized
 */
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))

#endif /* ARRAY_SIZE_H */
/mfd/arizona/pdata.h?id=f8a0941f1bbdbaa68441142675986501b48da8f5&follow=1'>mfd: arizona: Basic support for edge triggered IRQsMark Brown3-8/+11 2013-04-08mfd: arizona: Clarify error message for failed primary IRQ requestMark Brown1-1/+1 2013-04-08mfd: arizona: Clean up on failed runtime resumeMark Brown1-4/+7 2013-04-08mfd: arizona: Disable all wake sources by defaultMark Brown1-0/+3 2013-04-08mfd: wm8994: Silence bogus warning in wm8994_device_init()Jingoo Han1-1/+1 2013-04-08mfd: max77686: Use NULL instead of 0Sachin Kamat1-1/+1 2013-04-08mfd: adp5520: Use module_i2c_driver()Sachin Kamat1-11/+1 2013-04-05MFD: rtsx_pcr: Fix probe fail pathJiri Slaby1-2/+4 2013-04-05mfd: abx500: Move the AB8500 Kconfig fragmentLinus Walleij1-7/+7 2013-04-05mfd: davinci_voicecodec: use module_platform_driver_probe()Jingoo Han1-11/+1 2013-04-05mfd: htc-pasic3: use module_platform_driver_probe()Jingoo Han1-12/+1 2013-04-05mfd: ab3100-otp: use module_platform_driver_probe()Jingoo Han1-13/+1 2013-04-05mfd: stmpe: DT: Add stmpe-i2c dt alias to get id deviceGabriel Fernandez1-1/+4 2013-04-05mfd: stmpe: DT: Enable no-irq mode configurationGabriel Fernandez1-0/+3 2013-04-05mfd: syscon: Add non-DT supportAlexander Shiyan3-31/+46 2013-04-05mfd: syscon: Removed unneeded field "dev" from private driver structureAlexander Shiyan1-4/+1 2013-04-05mfd: palmas: Change the DT node property names to follow the conventionJ Keerthy1-3/+3 2013-04-05mfd: as3711: Add OF supportGuennadi Liakhovetski2-4/+96 2013-04-05mfd: cros_ec: Add MFD_CORE dependencyDavid Rientjes1-0/+1 2013-04-05mfd: cros_ec_spi: Warnings fixSamuel Ortiz1-3/+3 2013-04-05mfd: cros_ec: Export needed symbols for the i2c and spi modulesSamuel Ortiz1-0/+7 2013-04-05input: Add ChromeOS EC keyboard driverSimon Glass4-0/+419 2013-04-05input: matrix-keymap: Add function to read the new DT bindingSimon Glass5-18/+54 2013-04-05mfd: Add ChromeOS EC SPI driverSimon Glass3-0/+386 2013-04-05mfd: Add ChromeOS EC I2C driverSimon Glass3-0/+212 2013-04-05mfd: Add ChromeOS EC implementationSimon Glass5-0/+424