[media] media controller: get rid of entity subtype on Kernel
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 8 May 2015 01:12:39 +0000 (22:12 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:51 +0000 (12:18 -0200)
Don't use anymore the type/subtype entity data/macros
inside the Kernel.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
include/media/media-entity.h
include/uapi/linux/media.h

index 2596878f4b9f1abe19c08608eb987cdf18eae9bb..5171e3c1c71a581078e473ef5008364ed5338b08 100644 (file)
@@ -185,16 +185,6 @@ struct media_intf_devnode {
        u32                             minor;
 };
 
-static inline u32 media_entity_type(struct media_entity *entity)
-{
-       return entity->type & MEDIA_ENT_TYPE_MASK;
-}
-
-static inline u32 media_entity_subtype(struct media_entity *entity)
-{
-       return entity->type & MEDIA_ENT_SUBTYPE_MASK;
-}
-
 static inline u32 media_entity_id(struct media_entity *entity)
 {
        return entity->graph_obj.id;
index 43109445d1265788c26d79fa53d6b1f09f02ad2c..ecb6ac865905d1a962e189c333e52581c987d1d3 100644 (file)
@@ -42,8 +42,6 @@ struct media_device_info {
 
 #define MEDIA_ENT_ID_FLAG_NEXT         (1 << 31)
 
-/* Used values for media_entity_desc::type */
-
 /*
  * Initial value to be used when a new entity is created
  * Drivers should change it to something useful
This page took 0.025394 seconds and 5 git commands to generate.