Man gets deferred sentence after pot possession charge