summaryrefslogtreecommitdiff
path: root/include/dt-bindings/leds/leds-pca9532.h
blob: 4d917aab7e1ea5beb62028ff22854dcdf755116f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * This header provides constants for pca9532 LED bindings.
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2.  This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */

#ifndef _DT_BINDINGS_LEDS_PCA9532_H
#define _DT_BINDINGS_LEDS_PCA9532_H

#define PCA9532_TYPE_NONE         0
#define PCA9532_TYPE_LED          1
#define PCA9532_TYPE_N2100_BEEP   2
#define PCA9532_TYPE_GPIO         3
#define PCA9532_LED_TIMER2        4

#endif /* _DT_BINDINGS_LEDS_PCA9532_H */
r> parent73cfb2a2e49e166c569360ee60fe023b3efe3cf6 (diff)
net-next: treewide use is_vlan_dev() helper function.
This patch makes use of is_vlan_dev() function instead of flag comparison which is exactly done by is_vlan_dev() helper function. Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Daniel Jurgens <danielj@mellanox.com> Acked-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Jon Maxwell <jmaxwell37@gmail.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Acked-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/rdma/ib_addr.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/rdma/ib_addr.h b/include/rdma/ib_addr.h